Subject: Re: pkg-config files
To: Frederick Bruckman <fredb@immanent.net>
From: Matthieu Herrb <matthieu.herrb@laas.fr>
List: tech-x11
Date: 10/28/2003 08:19:52
You wrote (in your message from Monday 27)
>
> > The current X applications in xsrc/xfree/xc/programs are not linked
> > with -R/usr/X11R6/lib, assuming that /usr/X11R6/lib is in the ld.so
> > default search path anyways. I don't see why packages should be
> > different.
>
> That's news to me:
>
> # objdump -p /usr/X11R6/bin/xdm | grep RPATH
> RPATH /usr/X11R6/lib
>
> "/usr/X11R6/lib" is absolutely not in the built-in default run-path
> for the linker, nor is it in the shipped "/etc/ld.so.conf", either.
>
> > If X apps should not assume that, then NetBSD.cf should define
> > ExtraLoadFlags too. (See FreeBSD.cf and sco.cf for the 2 only systems
> > already doing that).
>
> Actually, it looks we're getting ExtraLoadFlags from including
> "bsdLib.rules", as does OpenBSD, so that's two more.
Thanks for the correction. I've been looking too fast here (I could
have checked one of my build logs...)
--
Matthieu