bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make loses LD_LIBRARY_PATH


From: Adam Fedor
Subject: make loses LD_LIBRARY_PATH
Date: Wed, 23 Jan 2002 10:32:53 -0700
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.7) Gecko/20020120

I get this odd problem on my powerpc-yellowdog-linux-gnu machine with make 3.79.1 (see attached). For some reason, the LD_LIBRARY_PATH environment variable gets dropped, but most (if not all) other variables are still there. However, it doesn't occur on my sparc-sun-solaris2.7 system. I've looked briefly for a cause, but I can't really see why it would happen.

--
Adam Fedor, Digital Optics            | I'm glad I hate spinach, because
http://www.doc.com                    | if I didn't, I'd eat it, and you
http://www.gnustep.org                | know how I hate the stuff.
eldorado ~>cat makefile 
all:
        @echo makefile LD_LIBRARY_PATH variable:
        @echo $(LD_LIBRARY_PATH)
        @echo subshell LD_LIBRARY_PATH variable:
        @echo $$LD_LIBRARY_PATH
eldorado ~>export LD_LIBRARY_PATH=/usr/local/lib
eldorado ~>make --warn-undefined-variables
makefile:2: warning: undefined variable `LD_LIBRARY_PATH'
makefile LD_LIBRARY_PATH variable:

subshell LD_LIBRARY_PATH variable:

eldorado ~>make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for powerpc-yellowdog-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <address@hidden>.

eldorado ~>
eldorado ~>make LD_LIBRARY_PATH=$LD_LIBRARY_PATH
makefile LD_LIBRARY_PATH variable:
/usr/local/lib
subshell LD_LIBRARY_PATH variable:
/usr/local/lib


reply via email to

[Prev in Thread] Current Thread [Next in Thread]