Luis Navarro wrote: > 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.
Is it possible that you copied some files into places where they don't belong? I have two different mysql.so files here: /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBD/mysql/mysql.so /usr/local/lib/php/extensions/no-debug-non-zts-20020429/mysql.so The first one belongs to Perl, the second one to PHP. Perl's mysql.so has the PL_sv_yes in it, PHP's mysql.so doesn't. When you were "placing mysql.so in the correct place", apparently you grabbed the wrong mysql.so (and "make install" in the PHP source directory should have done everything for you). Regards... Michael -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php