1 |
Hi, |
2 |
Yes, that posting to the Gentoo forums was me, and emerging zlib broke things. Python, and thus emerge, failed to load, claiming that it couldn't load libz.so.1 |
3 |
As for adding -l socket etc, that failed too |
4 |
johnh@sprawl:~/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg-config-0.29.1-abi_x86_32.x86/glib$ i386-pc-solaris2.11-gcc -o conftest -O2 -pipe -I/export/home/johnh/gentoo/usr/include -DENABLE_NLS -L /export/home/johnh/gentoo/var/tmp/zlib-1.2.8/zlib-1.2.8 -L/export/home/johnh/gentoo/usr/lib -L/export/home/johnh/gentoo/usr/lib -lintl -lsocket -lresolv -lnsl conftest.c |
5 |
/lib/libelf.so.1: undefined reference to `inflate@SUNW_1.1' |
6 |
/lib/libelf.so.1: undefined reference to `deflateEnd@SUNW_1.1' |
7 |
/lib/libelf.so.1: undefined reference to `inflateInit_@SUNW_1.1' |
8 |
/lib/libelf.so.1: undefined reference to `deflateInit_@SUNW_1.1' |
9 |
/lib/libelf.so.1: undefined reference to `deflateReset@SUNW_1.1' |
10 |
/lib/libelf.so.1: undefined reference to `inflateReset@SUNW_1.1' |
11 |
/lib/libelf.so.1: undefined reference to `inflateEnd@SUNW_1.1' |
12 |
/lib/libelf.so.1: undefined reference to `deflate@SUNW_1.1' |
13 |
collect2: error: ld returned 1 exit status |
14 |
johnh@sprawl:~/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg-config-0.29.1-abi_x86_32.x86/glib$ |
15 |
|
16 |
|
17 |
Thanks |
18 |
John |
19 |
|
20 |
_____________________________ |
21 |
From: Fabian Groffen <grobian@g.o> |
22 |
Sent: Tuesday, May 16, 2017 8:33 pm |
23 |
Subject: Re: [gentoo-alt] Prefix fails to bootstrap on Solaris 11 |
24 |
To: <gentoo-alt@l.g.o> |
25 |
|
26 |
|
27 |
Hi! |
28 |
|
29 |
https://forums.gentoo.org/viewtopic-p-8065614.html?sid=95636da82f97a16259d38eeecbdbab5e |
30 |
|
31 |
Is this the same problem? |
32 |
|
33 |
Does -lresolv -lsocket -lnsl work by chance? |
34 |
(https://docs.oracle.com/cd/E23824_01/html/821-1464/libresolv-3lib.html) |
35 |
|
36 |
Thanks, |
37 |
Fabian |
38 |
|
39 |
-- |
40 |
Fabian Groffen |
41 |
Gentoo on a different level |