Subject: Re: Trouble intalling teTeX
To: john heasley <heas@shrubbery.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 05/17/2003 12:19:48
On Fri, May 16, 2003 at 04:08:56PM -0700, john heasley wrote:
> Sat, May 17, 2003 at 12:07:39AM +0200, Manuel Bouyer:
> > On Fri, May 16, 2003 at 11:57:17AM -0400, Yasir Malik wrote:
> > > Thank you very much! I put LD_LIBRARY_PATH=/usr/X11R6/lib in .profile.
> >
> > But this isn't a good solution. It means your programs were compiled with
> > innapropriate flags.
> > Try adding
> > -Wl,-R/usr/X11R6/lib to the linker flags (adding it near
> > -L/usr/X11R6/lib should be enouth).
>
> -Wl,-rpath=/usr/X11R6/lib ?
Should work too, but the NetBSD build tools use -Wl,-R
>
> out of curiosity, why isnt the rpath (LD_RUN_PATH) automatically updated
> by the linker? every dynamic-linked binary will need to find it's libs.
> iirc, sunos did/does this.
If you have a LD_RUN_PATH defined at compile time, it should be used.
Some packages are build this way if I remember properly
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 24 ans d'experience feront toujours la difference
--