on Linux, set the modulecmd executable setGID to some safe group (like
nobody, or even better, some special made-up group just for this purpose).
This prevents it from using LD_LIBRARY_PATH.
See the man page for ld.so
Grant Denkinson wrote:
> Hello all.
> I'm running modules 3.2.8 on various versions of RedHat and clones and
> it mainly seems to work. I have run into a problem I'm not sure how to
> solve:
>
> I've been testing modules to load the HEAsoft software
> http://heasarc.gsfc.nasa.gov/lheasoft/
> and run into a problem:
>
> module load heasoft/64/6.11
>
> runs fine but then if I then run:
>
> module unload heasoft/64/6.11
>
> (or any module command) I get:
>
> init.c(479):ERROR:161: Cannot initialize TCL
>
> It seems to be related to there being a version of tcl included in the
> HEAsoft package.
>
> echo $LD_LIBRARY_PATH
> /data/share/64-bit/packages/heasoft/6.11/x86_64-unknown-linux-gnu-libc2.5/lib
>
> Where that location contains:
> ibtcl8.4.so libtclreadline.a libtclstub8.4.a
> libtclxpa.so.1
> libtclreadline-2.1.0.so libtclreadline.so libtclxpa.so
> libtclxpa.so.1.0
> libtk8.4.so libtkpgplot5.2.0.a libtkpgplot5.2.0.so libtkstub8.4.a
>
> Unsetting LD_LIBRARY_PATH from the commandline allows module to work
> again.
>
> Please can anyone suggest a fix or useful further debugging I can do?
>
> Thanks,
> Grant
>
>
>
--
---------------------------------------------------------------------
The views and opinions expressed above are strictly
those of the author(s). The content of this message has
not been reviewed nor approved by any entity whatsoever.
---------------------------------------------------------------------
Paul Markfort Info: http://www.umn.edu/~paulfm
---------------------------------------------------------------------
|