Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Sep 1998 10:41:56 -0700
From:      John Polstra <jdp@polstra.com>
To:        Mark Murray <mark@grondar.za>
Cc:        current@FreeBSD.ORG
Subject:   Re: B CURRENT Build environment (Was: Re: Why no ldconfig for ELF?) 
Message-ID:  <199809021741.KAA23527@austin.polstra.com>
In-Reply-To: Your message of "Wed, 02 Sep 1998 19:35:24 %2B0200." <199809021735.TAA01877@gratis.grondar.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
> lib/auto/POSIX/POSIX.so:
> 	LD_RUN_PATH=\"${WORLDTMP}${SHLIBDIR}:${WORLDTMP}/usr/lib\" \
> 		sh ext/util/make_ext dynamic ${.TARGET} \
> 			MAKE=make PERL_SRC=${.OBJDIR}
> 
> The line beginning LD_RUN_PATH is the critical bit; I need to pass
> the current _build_ directory containing the ELF libraries (this system
> is currently a.out). What is the right way to do this? The above does not
> work, as ${WORLDTMP} is not set here, only in /usr/src/Makefile.inc1.

In general, you want to set LD_RUN_PATH to the directories where
needed shared libraries will be found after they are installed into
their final resting places.  If you need to use the libraries before
they are installed, it's best to use LD_LIBRARY_PATH to say where
they are at that point in time.

John
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809021741.KAA23527>