[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? 

joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/

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: