Re: Problems installing DBD for MySQL

Fritz Buetikofer <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
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/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.