Subject: Re: We have a problem...need some help on this one...
From: Christopher C. Chimelis (chris@debian.org)
Date: Mon Apr 17 2000 - 12:47:28 PDT
On 17 Apr 2000, David Huggins-Daines wrote:
> Wow, great.
Hehehe...if that was meant to convey a lack of enthusiasm, then I feel
your pain :-)
> I've always wondered what the use of ldconfig was really ... if it's
> just to make soname links then it's fairly useless since we already do
> that in our packaging. In general it looks like some kind of vestige
> of the old libc5 crud on i386 (which of course never existed on alpha).
That's pretty much it, but it often has to do it prior to or after
packaging (it's often run in postinst scripts, fyi). Also, it kinda needs
to be there for custom/hand-installed stuff on systems.
In the case of ncpfs, the binaries are linked against the name stored in
SONAME, so when dh_shlibdeps tries to ldd the binaries, the dynamic linker
dies because the lib it looks for (really, the symlink) doesn't exist.
Unfortunately, the way our ldconfig works now is this way:
* it tries to read the SONAME info and almost does it
* it fails, unfortunately, so it uses it's last ditch effort...
* it assumes the SONAME = current lib name (which often isn't the case)
Honestly, I'm surprised that this hasn't come up before, but I guess
Debian maintainers usually cover these bases with adding symlinks either
by hand or using the packaging tools.
> Interesting that ldconfig never got rewritten properly like the rest
> of ld.so did. I might have some time to look at it.
Well, really, ld.so only got rewritten to support non-i386 stuff, not
necessarily anything else. Alpha only uses ldconfig from that package
(the rest is unbuilt totally since it's unnecessary -- we've always used a
glibc iteration, so we didn't need to deal with libc5 at all). That's
probably why it never got done.
I never figured out if RH has a working version, but I'd suspect that they
don't...
C
-- To UNSUBSCRIBE, email to debian-alpha-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
This archive was generated by hypermail 2a22 : Mon May 01 2000 - 18:42:05 PDT