[Mediawiki-l] missing mysql.so after compiling php 4.0/5.0 from sources

Pablo Chamorro C. pchamorro at ingeominas.gov.co
Mon May 30 22:55:34 UTC 2005


I installed MySQL 4.0 under Fedora Core 3 using the RPMs obtained from 
http://dev.mysql.com (server, client, shared and devel), and I compiled 
successfully php 5.0 from sources using:

./configure --with-mysql --disable-cgi

and then make and make install, but this warning appears at wikimedia 
setup time:

   Warning: dl(): Unable to load dynamic library '/usr/lib/php4/mysql.so' -
   /usr/lib/php4/mysql.so: cannot open shared object file: No such file or
   directory in /var/www/html/mediawiki-1.4.4/install-utils.inc on line 17
   Could not load MySQL driver! Please compile php --with-mysql or install
   the mysql.so module.

but the mysql.so file is not found under /usr/local/ neither in other 
directory (the same for php4).

Am I doing something wrong?  My last resort is to use the mysql and php 
RPMs included in Fedora but I would like to have mysql 4.0 not only for 
the mediawiki recommendation but due to e.g. mysql-administrator works 
with mysql 4.0.  What else can I try?

Thanks in advance,

Pablo

-- 
Tel: +57 (2) 7314752/3222/2595 - Fax: +57 (2) 7310514
Carrera 31 #18-07 Parque Infantil - PO Box 1795 - Pasto



More information about the MediaWiki-l mailing list