[Gmsh] Issue with libraries

Trimarchi D. Daniele.Trimarchi at soton.ac.uk
Sat Mar 26 12:54:05 CET 2011


Hallo, 
this is probably not a specific gmsh problem, so please excuse my inexperience...but I'm experiencing quite a strange behaviour of gmsh after the installation openFOAM1.5-dev. I'm actually running Ubuntu 10.04. Gmsh was previously working fine, and  I get now: 

/home/daniele/gmsh-2.4.2/bin/gmsh: error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory

I try with ldd gmsh, and this is the output: 

daniele at daniele:~/gmsh-2.4.2/bin$ ldd gmsh
	linux-gate.so.1 =>  (0xf778b000)
	libGL.so.1 => /usr/lib32/nvidia-current/libGL.so.1 (0xf76ad000)
	libSM.so.6 => not found
	libICE.so.6 => not found
	libX11.so.6 => not found
	libXext.so.6 => not found
	libGLU.so.1 => not found
	libm.so.6 => /lib32/libm.so.6 (0xf7686000)
	libstdc++.so.6 => not found
	libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7666000)
	libc.so.6 => /lib32/libc.so.6 (0xf750c000)
	libpthread.so.0 => /lib32/libpthread.so.0 (0xf74f3000)
	libGLcore.so.1 => /usr/lib32/nvidia-current/libGLcore.so.1 (0xf5ee3000)
	libnvidia-tls.so.1 => /usr/lib32/nvidia-current/tls/libnvidia-tls.so.1 (0xf5ee0000)
	libXext.so.6 => not found
	libX11.so.6 => not found
	libdl.so.2 => /lib32/libdl.so.2 (0xf5edc000)
	/lib/ld-linux.so.2 (0xf778c000)

However, when looking into /usr/lib, where I suppose that libraries are searched, they are actually there.
 
I also tried to re-initialize 

LD_LIBRARY_PATH=/usr/lib

or

LD_LIBRARY_PATH=/usr
SHLIB_PATH=lib

but with no success at all... Any guess then..? 

Thanks a lot, 
                     Daniele