[prev in list] [next in list] [prev in thread] [next in thread] 

List:       msql-mysql-modules
Subject:    Re: Problems installing DBD for MySQL
From:       Fritz Buetikofer <Fritz.Buetikofer () id ! unibe ! ch>
Date:       2004-08-03 14:30:16
Message-ID: A3A96310-E559-11D8-9B4C-000A95D79C00 () id ! unibe ! ch
[Download RAW message or body]

Hi all,

On Aug 3, 2004, at 3:07 PM, Rudy Lippan wrote:

> On Mon, 2 Aug 2004, Fritz Buetikofer wrote:
>
>> Perhaps a required shared library or dll isn't installed where 
>> expected
>
>
> Looks like it can't find your mysql libraries.
>
>>          Failed 2/5 tests, 60.00% okay
>> t/10dsnlist........install_driver(mysql) failed: Can't load
>> '/usr/local/src/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' 
>> for
>> module DBD::mysql: ld.so.1: /bin/perl: fatal: relocation error: file
>> /usr/local/src/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so:
>> symbol mysql_real_escape_string: referenced symbol not found at
>> /usr/local/lib/perl5/5.8.3/sun4-solaris/DynaLoader.pm line 229.
>>   at (eval 1) line 3
>
>
> mysql_real_escape_string is a function provided by libmysql.so.

With this feedback from Rudy  I looked in the binary_dist 4.0.20 for 
the libmysqlclient.so
file but could not find it. So I also downloaded the mysql sources, 
built it and then
copied over the libmysqlclient.so file to the /usr/local/lib directory. 
Now everything
ran fine.

Best regards,

--Fritz.


-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/perl?unsub=msql-mysql-modules@progressive-comp.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic