[Insight-users] Problem building on linux

Mathieu Malaterre malat@free.fr
Thu, 24 Oct 2002 08:35:42 +0200


Hi Ghassan,

>libstdc++-libc6.2-2.so.3 =>
>/lhome/ghassan/MATLAB13/sys/os/glnx86/libstdc++-libc6.2-2.so.3 (0x40018000)
>  
>
I think your problem comes from this. Are you using your LD_LIBRARY_PATH variable ? Or /etc/ld.so.conf ?
In all case try either
echo $LD_LIBRARY_PATH
or 
cat /etc/ld.so.conf

And you should put the "/lhome/ghassan/MATLAB13/sys/os/glnx86/" directory at the end, either in ld.so.conf file or in LD_LIBRARY_PATH variable.

For example (assuming you have bash/sh)

echo $LD_LIBRARY_PATH
...output...

unset LD_LIBRARY_PATH

export LD_LIBRARY_PATH= 'copy here output without /lhome/ghassan/MATLAB13/sys/os/glnx86/'

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH':/lhome/ghassan/MATLAB13/sys/os/glnx86/'

HTH
Mathieu