Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2003 20:25:04 -0800
From:      Gary Kline <kline@thought.org>
To:        Mark <admin@asarian-host.net>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: mysql can't finf shared library
Message-ID:  <20031117042504.GA10960@tao.thought.org>
In-Reply-To: <200311170021.HAH0L6OH078309@asarian-host.net>
References:  <20031117000618.GA5670@tao.thought.org> <200311170021.HAH0L6OH078309@asarian-host.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 17, 2003 at 12:21:07AM +0000, Mark wrote:
> ----- Original Message ----- 
> From: "Gary Kline" <kline@thought.org>
> To: "FreeBSD Mailing List" <freebsd-questions@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@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@thought.org   www.thought.org     Public service Unix



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031117042504.GA10960>