mysql can't finf shared library

Uwe Doering gemini at
Mon Nov 17 02:28:47 PST 2003

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?

Uwe Doering         |  EscapeBox - Managed On-Demand UNIX Servers
gemini at  |

More information about the freebsd-questions mailing list