List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:November 6 2001 6:39pm
Subject:Re: mysqlclient.10
View as plain text  
In the last episode (Nov 06), Constantine Morris said:
> >What does "cd /usr/local/lib/mysql ; ls -l libmysqlclient.so*" print? 
> >If the .so.10 library is not there, you may need to reinstall the
> >mysql323-client port.
> 
> This is what i get:
> 
> outer /usr/local/lib/mysql>ls -l libmysqlclient.so*
> lrwxrwxr-x  1 root  wheel      20 Nov  1 15:29 libmysqlclient.so ->
> libmysqlclient.so.10
> -rwxr-xr-x  1 root  wheel  125244 Nov  1 15:29 libmysqlclient.so.10
> 
> Actual error when i try and run the p5-Mysql mod:
> 
> >> Checksum OK for Msql-Mysql-modules-1.2215.tar.gz.
> ===>   p5-Mysql-modules-1.2215 depends on file:
> /usr/local/lib/perl5/site_perl/5.005/Data/ShowTable.pm - found
> ===>   p5-Mysql-modules-1.2215 depends on file:
> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBI.pm - found
> ===>   p5-Mysql-modules-1.2215 depends on shared library: mysqlclient.10 - not
> found

Ah.  I bet for some reason /usr/local/lib/mysql is not in your shared
library path.  Try running as root:

ldconfig -m /usr/local/lib/mysql

, then try rebuilding the p5-Mysql port.

-- 
	Dan Nelson
	dnelson@stripped
Thread
mysqlclient.10Constantine Morris6 Nov
  • Re: mysqlclient.10Dan Nelson6 Nov
  • Re: mysqlclient.10Mikel King6 Nov
Re: mysqlclient.10Dan Nelson6 Nov