[NTLUG:Discuss] error while loading shared libraries: libbind9.so.0:
Chris Cox
cjcox at acm.org
Mon Apr 2 22:14:35 CDT 2007
Clay Zevely wrote:
> I am new to the area and not a Linux guy by any means. Basically I am a
> newbie and know enough to get in trouble.
> I am having trouble where I am seeing the error below.
> /usr/bin/mmsrelay: error while loading shared libraries: libbind9.so.0:
> cannot open shared object file: No such file or directory
>
> This is when I run the command
> [root at localhost root]# /usr/bin/mmsrelay
>
>
> I have the file mmsrelay in the directory as seen below
> [root at localhost bin]# ls -l mms*
> -rwxr-xr-x 1 root root 496068 Nov 28 04:18 mmsbox
> -rwxr-xr-x 1 root root 470952 Nov 28 04:18 mmsfromemail
> -rwxr-xr-x 1 root root 513623 Nov 28 04:18 mmsproxy
> -rwxr-xr-x 1 root root 497842 Nov 28 04:18 mmsrelay
> -rwxr-xr-x 1 root root 466819 Nov 28 04:18 mmssend
> [root at localhost bin]# pwd
> /usr/bin
> [root at localhost bin]#
>
> I am at a loss at what or how to resolve this.
> On google it seemed I needed to load bind however It is installed as shown
> below
> [root at localhost bin]# rpm -qa |grep bind
> bind-9.2.4-20.EL3
> bind-libs-9.2.4-20.EL3
> bind-utils-9.2.4-20.EL3
> ypbind-1.12-5.21.9
> [root at localhost bin]#
>
> Any assistance is greatly appreciated.
You can always see what files come with a package with:
rpm -q -l bind-libs
Also, you can see what library an exectuable is looking
for by:
ldd mmsrelay
Using these two things might help you to determine why
it cannot find the library. On a 64bit system it's possible
that (for example) mmsrelay is a 32bit program looking
for /usr/lib/libbind9.so.0 instead of /usr/lib64/libbind9.so.0
(this varies from distrib to distrib). The easiest answer
for such a case is to find a 64bit version of mmsrelay.... if
you believe that is the problem after running the commands
above.
Let us know what you discover...
Chris
More information about the Discuss
mailing list