[Top][All Lists]

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

putenv('LD_LIBRARY_PATH',...) does not work

From: Guan, Yun
Subject: putenv('LD_LIBRARY_PATH',...) does not work
Date: Thu, 25 Jan 2007 11:09:50 -0600 (CST)
User-agent: SquirrelMail/1.4.5

Hi, everyone

any help for following problem will be appreciated.

To use MPITB for Octave, I need to be able to start an octave session in a
xterm windown, i.e. by using command "xterm -e octave". But I found out
that $LD_LIBRARY_PATH is reset by our system because xterm is setgid, i.e.
-rwxr-sr-x for xterm.

Then, I tried to use putenv to set LD_LIBRARY_PATH, but still that could not be found. Output I see on my desktop is at the end
of this email. Well,I probably cann't say putenv does not work since
$LD_LIBRARY_PATH is changed after using that command, but MPITB does not
recognize that.

Any suggestion how to fix the problem? I don't see the point why xterm is
setgid based on the Secutiry Considerations part in the article at
It seems installing xterm setuid-root is default. But on our system, xterm
is setgid, what is the point?


ans =
ans = /huis/yun/lam/7.1.2/lib:/usr/lib/octave-2.1.64
error: cannot open shared object file: No such file or directory

reply via email to

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