2 messages in com.mysql.lists.perlProblems using mysql.so with PHP
FromSent OnAttachments
Luis Navarro28 Jul 2003 01:12 
Rudy Lippan28 Jul 2003 05:21 
Subject:Problems using mysql.so with PHP
From:Luis Navarro (ln@lunadesign.net)
Date:07/28/2003 01:12:18 AM
List:com.mysql.lists.perl

Hi,

I've built DBI 1.37 and DBD::mysql 2.9002 successfully, but am having problems running it on Apache 1.3.27 with PHP 4.3.2 and MySQL 4.0.13 on Solaris 9 x86. When I restart Apache after placing mysql.so in the correct place and telling php.ini about it, I get the following:

PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/apps/php_v4.3.2/lib/php/extensions/mysql.so' - ld.so.1: /usr/local/apps/apache_v1.3.27/bin/httpd: fatal: relocation error: file /usr/local/apps/php_v4.3.2/lib/php/extensions/mysql.so: symbol PL_sv_yes: referenced symbol not found in Unknown on line 0

From what I can tell, PL_sv_yes is a symbol from libperl.so. I tried putting libperl.so and libperl.so.1 in /usr/lib, but it still doesn't get found. I've been banging my head on this for hours and would really appreciate any help.

Thanks,

....Luis