From: nobu.nokada@... Date: 2004-04-19T10:11:42+09:00 Subject: Re: LD_RUN_PATH Hi, At Fri, 16 Apr 2004 22:54:17 +0900, Ara.T.Howard wrote in [ruby-talk:97356]: > > At Fri, 16 Apr 2004 16:51:28 +0900, > > nobu.nokada@softhome.net wrote in [ruby-talk:97330]: > > > $ sudo env LD_RUN_PATH=/runpath/ruby make ruby > > > > $ make LD_RUN_PATH=/runpath/ruby ruby > > > > also seems to work. > > neither do on our machine? very weird. i've found some things on google > about this - that env settings are ignored when linking if euid!=uid or > something like that - and people having similar probs.... perhaps it is unique > to this os... what are you on? Linux 2.4.20, and $ LANG=C gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux Thread model: posix gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) $ ld -v GNU ld version 2.13.90.0.18 20030206 How are you doing? euid!=uid means that you use suid program? Rather, why do you compile as root? Basically, you don't need to be root to compile/link. -- Nobu Nakada