Re: Upcoming Debian Releases: linking shlibs against shlibs...
In article <m0wrtI6-000HKXC@lisa> you write:
>> > On %M %N, Federico Di Gregorio wrote
>> $ make
>> gcc -g -shared -Wl,-soname,libfakeroot.so.0 -o libfakeroot.so.0.0 libfakeroot.o -ldl -lc
>> $ ldd libfakeroot.so.0.0
>> statically linked
>> What am I doing wrong?
>dunno! I am having the same problem. Maybe if libfakeroot.o does not
>require libc nor libdl (and I dont think its the case... :(,
>they dont get linked in and so the lib is statically linked.
Make sure you have the symlinks for libdl.so and libc.so in /usr/lib,
if they are not there, gcc will not find the shared library and
instead link statically.
-- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist | This space | email@example.com
NetGuide Scandinavia | intentionally left blank | Fax: +46 31 50 79 39
http://www.netg.se | | Tel: +46 31 50 79 40
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .