Subject: Re: static vs. dynamic runtime linking, again (was: PAM and su -K)
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: James Chacon <jmc@NetBSD.org>
List: tech-userlevel
Date: 01/25/2005 09:24:34
On Mon, Jan 24, 2005 at 07:16:29PM -0500, der Mouse wrote:
> >> At that point I added -static and the problems went away. [...]
> > You forgot -Wl,-rpath,/usr/X11R6/lib --
>
> "Forgot"? Where was I supposed to remember it from?
>
> > there's a huge number of software packages (outside Pkgsrc) that
> > still don't get dynamic linking right.
>
> It's hardly a "package"; it's a program of my own.
>
> > The conclusion is that their authors should just forget
> > LD_LIBRARY_PATH + /etc/ld.so.conf and repair their build frameworks.
>
> And just what do you think I should do to "repair" my build "framework"
> - which you, NetBSD, not I, broke?!
Learn the system/read the manuals/learn the compiler options?
They have changed somewhat since 1980....
James