Gentoo Archives: gentoo-alt

From: "Pavel Heimlich
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] gentoo-prefix: perl 5.16.1 linking issue on Solaris
Date: Tue, 11 Dec 2012 00:05:50
Message-Id: CAMeYnzGRaYhPsBmxOWLd_ZHLF-O0+f+E54vbuGa10BYyyPHifw@mail.gmail.com
Hi,
building stage3 fails as perl is broken.

bash-4.1$ ldd /opt/gentoo/usr/bin/perl
    libperl.so.5.16.1 =>     (file not found)
    libsocket.so.1 =>     /lib/libsocket.so.1
    libnsl.so.1 =>     /lib/libnsl.so.1
    libdl.so.1 =>     /lib/libdl.so.1
    libm.so.2 =>     /lib/libm.so.2
    libc.so.1 =>     /lib/libc.so.1
    libmp.so.2 =>     /lib/libmp.so.2
    libmd.so.1 =>     /lib/libmd.so.1
    libcryptoutil.so.1 =>     /lib/libcryptoutil.so.1

also there are some other hints from the emerge perl log, suggesting the
prefix is not used correctly:
-------------

 * QA Notice: The following shared libraries lack a SONAME
 * /usr/lib/libperl.so.5.16.1
-------------
myconfig has, among others, this:
--------------
    uname='sunos drin 5.12 s12_10 i86pc i386 i86pc solaris '
    config_args='-des -Duseshrplib -Darchname=i386-linux -Dcc=gcc
-Doptimize= -Dldflags= -Dprefix=/opt/gentoo/usr
-Dinstallprefix=/opt/gentoo/usr -Dsiteprefix=/opt/gentoo/usr/local
-Dvendorprefix=/opt/gentoo/usr -Dscriptdir=/opt/gentoo/usr/bin
-Dprivlib=/opt/gentoo/usr/lib/perl5/5.16.1
-Darchlib=/opt/gentoo/usr/lib/perl5/5.16.1/i386-linux
-Dsitelib=/opt/gentoo/usr/local/lib/perl5/5.16.1
-Dsitearch=/opt/gentoo/usr/local/lib/perl5/5.16.1/i386-linux
-Dvendorlib=/opt/gentoo/usr/lib/perl5/vendor_perl/5.16.1
-Dvendorarch=/opt/gentoo/usr/lib/perl5/vendor_perl/5.16.1/i386-linux
-Dman1dir=/opt/gentoo/usr/share/man/man1
-Dman3dir=/opt/gentoo/usr/share/man/man3
-Dsiteman1dir=/opt/gentoo/usr/local/man/man1
-Dsiteman3dir=/opt/gentoo/usr/local/man/man3
-Dvendorman1dir=/opt/gentoo/usr/share/man/man1
-Dvendorman3dir=/opt/gentoo/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm
-Dlibperl=libperl.so.5.16.1 -Dlocincpth=/opt/gentoo/usr/include
-Dglibpth=/opt/gentoo/lib /opt/gentoo/usr/lib  -Duselargefiles
-Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost
-Dperladmin=root@localhost -Dinstallusrbinperl=n -Ud_csh -Uusenm -Ui_ndbm
-Ui_gdbm -Ui_db -DDEBUGGING=none -Dinc_version_list=5.16.0/i386-linux
5.16.0  -Dlibpth=/opt/gentoo/lib /opt/gentoo/usr/lib  /lib /usr/lib
-Dnoextensions=ODBM_File'
--------------

I'm new to Gentoo and still a bit confused by the ebuild system, so I have
no fix at hand ATM.

TIA for any hints

P.

Replies

Subject Author
Re: [gentoo-alt] gentoo-prefix: perl 5.16.1 linking issue on Solaris Fabian Groffen <grobian@g.o>