Click to See Complete Forum and Search --> : libXmu.so: cannot open shared object file: Too many levels of symbolic links
shupi
07-06-2006, 09:20 AM
hi frens,
I was trying to run a software Biosuite on redhat linux workstation 4.0. Firstly I got the message
"libGL.so: cannot open shared object file: No such file or directory
Unable to resolve GL/GLX symbols - please check your GL library installation"
I searched for the error and I got the answer to make a symbolic link as libGl.so.1 file was present in /usr/lib. I used this
"ln -s /usr/lib/libGL.so.1 /usr/lib/libGL.so"
It worked and now when I again tried to run the software, I got the error as
"libXmu.so: cannot open shared object file: Too many levels of symbolic links
Unable to resolve Xmu symbols - please check your Xmu library installation"
So I again tried this
"#ln -s /usr/X11R6/lib/libXmu.so.6 /usr/X11R6/lib/libXmu.so" as the library file libXmu.so.6 was present in /usr/X11R6/lib but now I got the error again.
Can somebody help me.I am a naive user to linux.
Kindly help.
je_fro
07-06-2006, 09:47 AM
The first step to debugging this kind of thing is to see what libraries it's trying to load, and from where...
Find and cd to where the biosuite executable is located (not the script that likely starts it, but the binary) and do:
"ldd theexecutablefilename"
as an example, I give you this:
je_fro@speedy ~ $ which xv
/usr/bin/xv
je_fro@speedy ~ $ file /usr/bin/xv
/usr/bin/xv: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped
je_fro@speedy ~ $ cd /usr/bin/
je_fro@speedy /usr/bin $ ldd xv
libz.so.1 => /lib/libz.so.1 (0x00002b86c1de2000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00002b86c1ef8000)
libm.so.6 => /lib/tls/libm.so.6 (0x00002b86c210b000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00002b86c2260000)
libpng.so.3 => /usr/lib/libpng.so.3 (0x00002b86c237e000)
libtiff.so.3 => /usr/lib/libtiff.so.3 (0x00002b86c24a6000)
libc.so.6 => /lib/tls/libc.so.6 (0x00002b86c25f9000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00002b86c2830000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002b86c2933000)
libdl.so.2 => /lib/libdl.so.2 (0x00002b86c2a38000)
libjbig.so => /usr/lib/libjbig.so (0x00002b86c2b3b000)
/lib64/ld-linux-x86-64.so.2 (0x00002b86c1cc9000)
shupi
07-07-2006, 02:33 AM
Hi Je_fro,
When I tried which biosuite I got this
/usr/bin/which: no BioSuite.V.2.0Beta in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/BioSuite.V.2.0Beta//bin/:/root/bin)
I changed the directory to /usr/local/
and then tried ldd BioSuite.V.2.0Beta and then I got
ldd: ./BioSuite.V.2.0Beta: No such file or directory
But why this message when Biosuite is already installed and infact when I try to run it I got the first screen also and just after the first screen I got the message that
"libXmu.so: cannot open shared object file: Too many levels of symbolic links
Unable to resolve Xmu symbols - please check your Xmu library installation"
Please help regrading this.I am totally confused.
je_fro
07-07-2006, 03:39 AM
you installed and are running the program as root, I see...that's a bad decision from a security stantpoint...
in any case, it looks like the installer modified your $PATH variable...try looking for the executable in /usr/local/BioSuite.V.2.0Beta/bin/
shupi
07-07-2006, 06:51 AM
Ya its wrong on my part that I have installed the software from root but.....will take care of this from the next time.
I got the executable file in /usr/local/BioSuite.V.2.0Beta/bin
and from there I executed
$ ldd biosuite-2.0Beta and got the result as
[root@localhost bin]# ldd biosuite-2.0Beta
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00b60000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x0017a000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x00c29000)
libdl.so.2 => /lib/libdl.so.2 (0x00b5a000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00d06000)
libm.so.6 => /lib/tls/libm.so.6 (0x00b35000)
libc.so.6 => /lib/tls/libc.so.6 (0x00a0a000)
libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x00c39000)
/lib/ld-linux.so.2 (0x009f1000)
Here its not shwing any link to libXmu.so library file?????
Now wat to do, Plz guide. I hope I am not bugging you.