Re: shared libraries and libc6
J.J.Troup@comp.brad.ac.uk (James Troup) writes:
>
> Christoph Martin <martin@uni-mainz.de> writes:
>
> > I just built some packages (socks4) including a shared library
> > package. All binaries are well linked against libc6 but if I check
> > the shared library ldd reports that it is only linked agains
> > libc5. What is the problem?
>
> Have you read /usr/doc/debian-policy/libc6-migration.text.gz? Anyway,
> you need to change socks so it links the shared library with
> -lc. (Among other things)
I did not find this anywhere. What do you mean by "Among other
things"? Your statements below?
> However socks seems to have some weird (IMO) ideas about how to make a
> shared library, I tried adding -lc to the ld call which, rather
> interestingly, results in
>
> ld -shared -lc -o libsocks.so.4.3 -soname libsocks.so.4 --whole-archive libsocks.a
> ld: internal error ldlang.c 2941
>
> Woops. Is that because what I'm doing is stupid or is it a bug?
>
It sounds correct, but is not working for me either.
Christoph
--
============================================================================
Christoph Martin, Uni-Mainz, Germany
Internet-Mail: Christoph.Martin@Uni-Mainz.DE
--------------export-a-crypto-system-sig -RSA-3-lines-PERL------------------
#!/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
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#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: