Type in 'ldconfig -r'... you should see something like this,

                .
                .
                .
         333:-lmysqlclient.10 => /usr/local/lib/mysql/libmysqlclient.so.10

... if not, 'ldconfig -m /usr/local/lib/mysql'.

On 28-Oct-2002 Mark wrote:
> The oddest thing; I installed the latest DBD and DBI, and I already have
> mysql server and client (3.23.49) running.
> 
> ----------------------------------------------
> asarian-host: {root} % /usr/bin/perl /tmp/test.pl
> install_driver(mysql) failed: Can't load
> '/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBD/mysql/mysql.so'
> for module DBD::mysql: Shared object "libmysqlclient.so.6" not found at
> /usr/libdata/perl/5.00503/DynaLoader.pm line 169.
> 
>  at (eval 6) line 3
> Perhaps a required shared library or dll isn't installed where expected
>  at /usr/libdata/perl/5.00503/MySQL/User.pm line 30
> BEGIN failed--compilation aborted at /tmp/test.pl line 13.
> ----------------------------------------------
> 
> This is weird; the file is right there:
> 
> /usr/local/lib/mysql/libmysqlclient.so.6
> 
> Characteristics of this binary (from libperl):
>   Built under freebsd
>   Compiled at Oct  9 2002 12:08:26
>   @INC:
>     /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
>     /usr/local/lib/perl5/site_perl/5.005
>     .
>     /usr/libdata/perl/5.00503/mach
>     /usr/libdata/perl/5.0050
> 
> 
> Does anyone have any suggestions?
> 
> - Mark
> 
>         System Administrator Asarian-host.org
> 
> ---
> "If you were supposed to understand it,
> we wouldn't call it code." - FedEx
> 

----------------------------------
E-Mail: [EMAIL PROTECTED]
Date: 28-Oct-2002
Time: 10:29:39
----------------------------------

Reply via email to