=========
./lmgrd
bash: ./lmgrd: No such file or directory
=========
the most probable reason for such sort of problem is unavailability of some dependence (i.e. shared library).
So let's look at dependencies:
=========
$ ldd lmgrd
linux-gate.so.1 => (0xb784b000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb781a000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb77f0000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb77d1000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7655000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb7650000)
/lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xb784c000)
=========
The first suspect is definitely (for me at least it was so) "linux-gate.so.1"
But it turned out that it's ok: http://www.cyberciti.biz/faq/linux-linux-gate-so-1-library-dynamic-shared-object-vdso/ refers to http://www.ibm.com/developerworks/linux/library/l-lpic1-v3-102-3/
=========
This virtual library provides the necessary logic to allow user programs to access system functions through the fastest means available on the particular processor, either interrupt, or with most newer processors, fast system call.
=========
Others look pretty solid except the last one: /lib/ld-lsb.so.3
=========
$ file /lib/ld-lsb.so.3
/lib/ld-lsb.so.3: ERROR: cannot open `/lib/ld-lsb.so.3' (No such file or directory)
=========
For some reason in some modern Linux distributions this symlink is not set by default and one needs to fix it whether manually or simply installing "LSB core" (Linux Standard Base core support package) package.
In RedHat:
=========
yum install redhat-lsb.i686
=========
or for Debian/Ubuntu
=========
apt-get install lsb-core package
=========
yum install redhat-lsb.i686
=========
or for Debian/Ubuntu
=========
apt-get install lsb-core package
=========
Now it resolves correctly:
=========
$ file /lib/ld-lsb.so.3
/lib/ld-lsb.so.3: symbolic link to `ld-linux.so.2'
=========
And as a consequence lmmgr starts and acts properly now!
No comments:
Post a Comment