mysql can't finf shared library

Gary Kline kline at
Mon Nov 17 13:17:29 PST 2003

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/ Shared object "" not found
> >root at tao:/etc# locate libmysql
> >/usr/local/lib/mysql/libmysqlclient.a
> >/usr/local/lib/mysql/
> >/usr/local/lib/mysql/
> >
> >	Anybody know what's going on here?  Is this a known bug?
> Well, at least up to MySQL 3.23.58 a startup script 
> '' 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

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



   Gary Kline     kline at     Public service Unix

More information about the freebsd-questions mailing list