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

Re: shared libraries and libc6



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)

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?

-- 
James


--
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: