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

Re: OpenGL



Francesco Pietra wrote:
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
If you want to run a 32-bit application, fairly obviously, you need 32-bit libraries.

libXm.so.3 => not provided (you need to get the 32-bit library from a chroot, and put it somewhere checked by ldconfig, such as /emul/ia32-linux/lib/)

libGL.so.1 => ia32-libs, nvidia-glx-ia32, or fglrx-driver

libGLU.so.1 => ia32-libs

libjpeg.so.62 => ia32-libs

libXt.so.6 => ia32-libs

libX11.so.6 => ia32-libs

libm.so.6 => libc6-i386

libc.so.6 => libc6-i386

/lib/ld-linux.so.2 => libc6-i386

libXmu.so.6 => ia32-libs

Success at running 32-bit OpenGL applications will depend on your 3D driver.



Reply to: