Gentoo Archives: gentoo-amd64

From: Richard Freeman <rich@××××××××××××××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] binary 32-bit libs, LDPATH questions
Date: Mon, 26 Sep 2005 20:46:09
Message-Id: 43385DBC.4060107@thefreemanclan.net
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Apologies if this does make it out more than once - I'm having sending
5 issues...
6
7 Ok, this is probably only loosely gentoo-amd64-related, but I'm sure
8 somebody here can quickly point out the mistake I'm making, and also
9 generally educate me on the myteries of linux dynamic linking.
10
11 First the problem, and then the background which I think has led up to it...
12
13 The obvious problem is that openoffice-bin does not install or run, as
14 the setup program terminates with:
15
16 ./setup: /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/32/libstdc++.so.5:
17 no version information available (required by /usr/NX/lib/libXcomp.so.1)
18 ./setup: /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/32/libstdc++.so.5:
19 no version information available (required by /usr/NX/lib/libXcomp.so.1)
20 ./setup: /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/32/libstdc++.so.5:
21 no version information available (required by /usr/NX/lib/libXcomp.so.1)
22 ./setup: /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/32/libstdc++.so.5:
23 no version information available (required by /usr/NX/lib/libXcomp.so.1)
24 glibc version: 2.3.5
25
26 Initializing installation
27 program.................../var/tmp/portage/openoffice-bin-1.1.5/temp/sv001.tmp/setup.bin:
28 relocation error: /usr/NX/lib/libXcomp.so.1: symbol
29 _ZNSo5seekpESt4fposI11__mbstate_tE, version GLIBCPP_3.2 not defined in
30 file libstdc++.so.5 with link time reference
31
32 Now a little background. I'm running nxserver-freenx, which isn't
33 64-bit clean, and it is really messy to run from a chroot. So, I built
34 it in a 32-bit chroot, packaged it, and installed into my 64-bit system
35 from the binary package. It works great.
36
37 However, for some odd reason, openoffice-bin gets confused when it tries
38 to run. I have no idea why the linker would even look at the NX
39 libraries unless they were referenced by the binary, but this might just
40 be revealing my ignorance of linux dynamic linking. I had an older
41 version of openoffice-bin installed at one point, which ran fine until I
42 installed the NX binaries. So obviously everything they need to run is
43 there, but the addition of the NX libs is confusing something.
44
45 Can anybody shed some light on what my problem is?
46 -----BEGIN PGP SIGNATURE-----
47 Version: GnuPG v1.4.1 (GNU/Linux)
48 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
49
50 iD8DBQFDOF28g2bN8aFizRkRAo1/AJ9UlaYJS48e/WfTDfAr7A/XEk8VhgCeLkHx
51 thO1JETjk9HvKazxbSMkInQ=
52 =p/tK
53 -----END PGP SIGNATURE-----

Attachments

File name MIME type
smime.p7s application/x-pkcs7-signature

Replies

Subject Author
Re: [gentoo-amd64] binary 32-bit libs, LDPATH questions Daniel Gryniewicz <dang@g.o>