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
It means that MySQL wasn't actually compiled in (or Apache's using a different binary than you think it is). MediaWiki won't call dl() if MySQL is in there.
On 5/30/05, Pablo Chamorro C. pchamorro@ingeominas.gov.co wrote:
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 _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org