[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: egcs linking desparation and that pesky libstdc++272



Had another though after testing some...

"Adam P. Harris" <apharris@onshore.com> writes:
>Problem:
><apharris@burrito:lib> ldd libsp.so
>libstdc++.so.2.7.2 => /usr/lib/libstdc++.so.2.7.2 (0x40170000)
>libc.so.6 => /lib/libc.so.6 (0x401ad000)
>/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)
>libm.so.6 => /lib/libm.so.6 (0x40250000)

Have you installed libsp.so? ldd has this rater peculiar behavior
of only looking for .so's in the library path. Try 'ldd ./libsp.so'
or 'env LD_LIBRARY_PATH=. ldd libsp.so' and see what you get.

><apharris@burrito:nsgmls> ldd nsgmls
>libsp.so.1 => /usr/lib/libsp.so.1 (0x40011000)
>libstdc++.so.2.8 => /usr/lib/libstdc++.so.2.8 (0x4017c000)
>libm.so.6 => /lib/libm.so.6 (0x401c9000)
>libc.so.6 => /lib/libc.so.6 (0x401e2000)
>/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>libstdc++.so.2.7.2 => /usr/lib/libstdc++.so.2.7.2 (0x40285000)

Again, is the libsp.so.1 you compiled installed in /usr/lib or is
that the old version? If it's the old version, nsgmls has a
dependency on libstdc++.so.2.8 and the old libsp has one on
libstdc++.so.2.7.2 and so you get both. Try it with
'env LD_LIBRARY_PATH=<where the new libsp.so.1 is> ldd nsgmls'

Regards,
/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist   |       Mud at Kingdoms        | iko@netg.se
NetGuide Scandinavia |   telnet kingdoms.se 1812    | Fax: +46 31 50 79 39
http://www.netg.se   |                              | Tel: +46 31 50 79 40


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: