On Tuesday 11 February 2003 10:10, Jonas Pasche wrote:
> Hi Roland,
>
> > yes, the libmysqlclient.so.10 exists and is in
> > /usr/local/mysql/current/lib/mysql
>
> Ok, compare that with your strace output (I grep'ped for
>
> libmysqlclient.so.10):
> > open("/lib/i686/mmx/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No such
> > file or directory)
> > open("/lib/i686/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No such
> > file or directory)
> > open("/lib/mmx/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No such file
> > or directory)
> > open("/lib/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No such file or
> > directory)
> > open("/usr/lib/i686/mmx/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No
> > such file or directory)
> > open("/usr/lib/i686/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No such
> > file or directory)
> > open("/usr/lib/mmx/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No such
> > file or directory)
> > open("/usr/lib/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No such file
> > or directory)
>
> As you see, "/usr/local/mysql/current/lib" is not checked for that file,
> so I suggest you put this directory into /etc/ld.so.conf and run
> ldconfig to update the list of shared objects.
>
> Use "ldconfig -v | grep libmysqlclient" to see if it's listed. Then try
> vadddomain again.

One final note:

I'm not sure if this is the case with Linux, but with FreeBSD one must add
the -m flag in order to keep ldconfig from ditching the previously loaded
path statements.

Check:

man ldconfig


>
> Jonas

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.



Reply via email to