MySQL 3 server problems: mysqlclient.10 not found?

Ryan Merrick sandshrimp at comcast.net
Tue Mar 16 23:00:38 PST 2004


paul beard wrote:
> I have been trying to complete a portupgrade and something seems to be 
> wrong: mysql323-server won't build. It seems to have a dependency on a 
> file -- mysqlclient.10 -- that's part of mysql323-client but isn't found.
> 
> ===>   Compressing manual pages for mysql-client-3.23.58_2
> ===>   Running ldconfig
> /sbin/ldconfig -m /usr/local/lib/mysql
> ===>   Registering installation for mysql-client-3.23.58_2
> ===>   Returning to build of mysql-server-3.23.58_2
> Error: shared library "mysqlclient.10" does not exist
> *** Error code 1
> 
> Stop in /opt/ports/databases/mysql323-server.
> 
> -- 
> Paul Beard
> <www.paulbeard.org/>
> paulbeard [at] mac.com
Hi.

What is in #/usr/local/lib/mysql ?

You should have something like:
...
lrwxrwxrwx  1 root  wheel      20 Feb 28 22:29 libmysqlclient.so -> 
libmysqlclient.so.10
-rwxr-xr-x  1 root  wheel  132515 Nov  7 17:57 libmysqlclient.so.10
...

The #/sbin/ldconfig -m is trying to merge /usr/local/lib/mysql into the 
share libraries.

To verify what is in ldhints use: /sbin/ldconfig -r

-- 
-Ryan Merrick
sandshrimp at comcast.net



More information about the freebsd-questions mailing list