mysql can't finf shared library
Gary Kline
kline at thought.org
Sun Nov 16 20:25:15 PST 2003
On Mon, Nov 17, 2003 at 12:21:07AM +0000, Mark wrote:
> ----- Original Message -----
> From: "Gary Kline" <kline at thought.org>
> To: "FreeBSD Mailing List" <freebsd-questions at freebsd.org>
> Sent: Monday, November 17, 2003 1:07 AM
> Subject: mysql can't finf shared library
>
> > After upgrading to the latest mysql323-client and reinstalling
> > my root password, here is what happens:
> >
> > mysqladmin -u root password 'fooobar1234'
> > /usr/libexec/ld-elf.so.1: Shared object "libmysqlclient.so.10" not found
> > root at tao:/etc# locate libmysql
> > /usr/local/lib/mysql/libmysqlclient.a
> > /usr/local/lib/mysql/libmysqlclient.so
> > /usr/local/lib/mysql/libmysqlclient.so.10
> >
> > Anybody know what's going on here? Is this a known bug?
>
> I am sure it is not the official method, but when I had this happening too,
> I made the following symlink:
>
> /usr/local/lib/libmysqlclient.so.10 -> mysql/libmysqlclient.so.10
>
Yep; worked for me too; then just to make sure the libraries
really were loaded, this:
tao# /sbin/ldconfig -m /usr/local/lib/mysql
thanks, gentlemen.
gary
>
--
Gary Kline kline at thought.org www.thought.org Public service Unix
More information about the freebsd-questions
mailing list