to correct a mistake (ldcofog in place of ldconfig)
On Thursday 06 July 2006 10:58, A J Stiles wrote:
On Wednesday 05 July 2006 16:52, Francesco Pietra wrote:
..... when (on jwm window manager) trying to
launch the application from within its directory:
$./<applicationname> return
bash: error while loading shared libraries: libXm.so.3: cannot open
shared object: No such file or directory
What do you see when you do
$ ldd applicationname
?
For a global-search molecular-mechanics application that I compiled (and which
has no graphics):
$ldd /home/francesco/applicationdir/executable
lib.so.6 => /lib/libm.so.6 (0x00002aaaaabc3000)
lib.so.6 => /lib/libc.so.6 (0x00002aaaaad49000)
/lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
For the molecular mechanics application (which contains all its libraries
except for OpenGL graphics) and which gives above errors while trying to
load:
$ldd /home/francesco/applicationdir/executable
linux-gate.so.1 => (0xffffe000)
libXm.so.3 => not found
libGL.so.1 => not found
libGLU.so.1 => not found
libjpeg.so.62 => not found
libXt.so.6 => not found
libXt.so.6 => not found
libX11.so.6 => not found
libm.so.6 => /lib32/libm.so.6 (0x55578000)
libc.so.6 => /lib32/libc.so.6 (0x5559c000)
/lib/ld-linux.so.2 (0x55555000)
libXmu.so.6 => not found