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

Re: Upcoming Debian Releases: linking shlibs against shlibs...



> > On %M %N, Federico Di Gregorio wrote
> > > >* Link shared libs against other shared libs instead of static [14]
> > > 
> > > To put it simply how do I link that way. I tryied to do that
> > > with the lib libtkstep4.2.so.1 in my package tkstep4.2 but
> > > when I ldd it I always obtain a "statically lynked" 
> > > message...
> > 
> > Use the appropriate -l options when running 'gcc -shared'.  For example,
> > to make libtkstep4.2.so.1 dynamically linked with libc, build like this
> > 
> > 	gcc -shared -o libtkstep4.2.so.1 ... -lc
> 
> $ 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.

What a mess.
 


*************************    ____*********************************
* Federico Di Gregorio   |  /      the number you dialled is     *
* Debian developer!      | / -1   imaginary... please, rotate    *
* <friend of penguins>   |/      the phone PI/2 and try again!   *
****************DE 9E B2 75 B4 F6 CC 5B  C3 D5 71 51 04 AB F3 B2**

*************************    ____*********************************
* Federico Di Gregorio   |  /      the number you dialled is     *
* Debian developer!      | / -1   imaginary... please, rotate    *
* <friend of penguins>   |/      the phone PI/2 and try again!   *
****************DE 9E B2 75 B4 F6 CC 5B  C3 D5 71 51 04 AB F3 B2**



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: