Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2003 13:17:24 -0800
From:      Gary Kline <kline@thought.org>
To:        Uwe Doering <gemini@geminix.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: mysql can't finf shared library
Message-ID:  <20031117211724.GA69285@tao.thought.org>
In-Reply-To: <3FB8A2DA.9040106@geminix.org>
References:  <20031117000618.GA5670@tao.thought.org> <3FB8A2DA.9040106@geminix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 17, 2003 at 11:28:42AM +0100, Uwe Doering wrote:
> Gary Kline wrote:
> >	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?
> 
> Well, at least up to MySQL 3.23.58 a startup script 
> '000.mysql-client.sh' gets installed under '/usr/local/etc/rc.d' which 
> runs this command at boot time:
> 
>   /sbin/ldconfig -m /usr/local/lib/mysql
> 
> This is supposed to ensure that the system automatically knows where to 
> look for the MySQL client libs.  It worked for me out of the box.  Did 
> you delete this script, or is there any other reason why scripts under 
> '/usr/local/etc/rc.d' don't get executed on your system?
> 

	The problem was that I was missing part of mysql.  Initially 
	I thought v323 was still the default (( for phpBB )); when I
	looked at the dependencies I found that v40 is now required.
	--Long story short, after rbuilding/reinstalling, mysql is
	happy.

	(now to upgrade to phpbb-2.0.6......)

	thanks,

	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?20031117211724.GA69285>