[Top][All Lists]

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

Re: Make on alpha-linux

From: Paul D. Smith
Subject: Re: Make on alpha-linux
Date: Mon, 8 Oct 2001 13:33:07 -0400

%% Jorn Tomanik <address@hidden> writes:

  jt> I am using make 3.79.1 on alpha-redhat-linux-gnu.

  jt> It seems that make is removing LD_LIBRARY_PATH from the
  jt> environment, which means that following simple makefile fails
  jt> (even if LD_LIBRARY_PATH is set of course):

  jt> all:
  jt>   env | grep LD_LIBRARY_PATH

Works for me (Debian GNU/Linux i686):

  $ export LD_LIBRARY_PATH=/usr/global/lib

  $ env | grep LD_LIBRARY_PATH

  $ echo 'all: ; env | grep LD_LIBRARY_PATH' | make -f-
  env | grep LD_LIBRARY_PATH

No problem.

One thing: check whether your copy of the GNU make is setgid or not.  If
it is, the system might be disabling the setting of LD_LIBRARY_PATH
before changing the gid, as a security precaution.

You shouldn't need the make binary to be setgid on a Linux box, since
there are ways to retrieve the system load without needing special gid

If you installed it yourself and it automatically added the setgid bit,
that seems like a bug in the configuration/installation of GNU make; let
me know.

 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

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