On Sat, Feb 12, 2005 at 10:17:26AM -0500, Clint Adams wrote:
> > If LD_LIBRARY_PATH is set, fakeroot will fail the dh_testroot test (I
> > guess for similar reasons as why suid executables conflict with that
> > variable).
> 
> Not for me.
> 
> The following commands all work:
> 
> a) fakeroot dh_testroot
> b) LD_LIBRARY_PATH=/usr/local/lib fakeroot dh_testroot
> c) LD_LIBRARY_PATH=/nonexistent/directory fakeroot dh_testroot
> 
> Could you unset LD_LIBRARY_PATH and try those three?
Why unset it?  I tried those three commands and they all did nothing
with $?==0.

To reproduce, add this as the second line of debian/rules:
  export LD_LIBRARY_PATH=/

I need LD_LIBRARY_PATH set because my source package builds shared
libraries and then links executables against them; I want the
executables to be linked against the copy in the compile-tree, not
against a copy that might be in /usr/lib, and I don't want to
build-conflict with myself.

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to