Results 1 to 5 of 5
Hi *
I'm trying to install a program (structural biochemistry field), which seems to not start because the executable binary file does not encounter all of the shared libraries it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-30-2006 #1Just Joined!
- Join Date
- Oct 2006
- Location
- Coimbra - Portugal
- Posts
- 11
ldd command - how to fullfil the missing libs?
Hi *
I'm trying to install a program (structural biochemistry field), which seems to not start because the executable binary file does not encounter all of the shared libraries it needs.
ldd command allowed me to see what are those libs, and surprisingly (or not), they are present inside a dir of the program.
How can I instruct a shared bin executable, to find for libraries in a certain dir or dirs?
Cheers,
Nuno
- 11-30-2006 #2
what error message binary file throwing? post 'exact' message here. it might be a symlink problem or that binary file needs root privileges.
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 11-30-2006 #3Just Joined!
- Join Date
- Oct 2006
- Location
- Coimbra - Portugal
- Posts
- 11
I Martin
I'm the root of the machine.
Here's the ldd result:
ldd vmd_LINUX
linux-gate.so.1 => (0xbfffe000)
libvmdX.so => not found
libXi.so.6 => /usr/lib/libXi.so.6 (0xb7fc0000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb7f34000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7eb2000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7e8e000)
libpng.so.2 => not found
libz.so.1 => /lib/libz.so.1 (0xb7e7b000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0xb7e68000)
libtk8.4.so => not found
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d69000)
libtcl8.4.so => not found
libXft.so.1 => not found
libdl.so.2 => /lib/libdl.so.2 (0xb7d64000)
libutil.so.1 => /lib/libutil.so.1 (0xb7d60000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c7c000)
libm.so.6 => /lib/i686/libm.so.6 (0xb7c57000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c4b000)
libc.so.6 => /lib/i686/libc.so.6 (0xb7b1e000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7b0f000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb7289000)
libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb7287000)
/lib/ld-linux.so.2 (0xb7fdf000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7283000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb727d000)
All "not found" libs, are present in 2 directories inside the program pack. Already contacted the admin of the program, but got no answer. It has something to do with some variable on the config file pointing to where those libs are, I think.
P.S. Just arrived from Dublin
Guiness rules
- 11-30-2006 #4Just Joined!
- Join Date
- Oct 2006
- Location
- Coimbra - Portugal
- Posts
- 11
ups, that's what happens when talking to many people the same time.
The answer was to you casper.
- 11-30-2006 #5
add the path of those directories in PATH variable.
execute binary file againCode:PATH=$PATH:/path/of/dir1:/path/of/dir2
Edit :
no problemoups, that's what happens when talking to many people the same time.
The answer was to you casper.
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote
