From: paul at ensigma dot com dot au Operating system: RedHat 9 PHP version: 4.3.2 PHP Bug Type: Compile Failure Bug description: Distributions version of mnoGoSearch extension does not work with MySQL 4
I tried to compile PHP-4.3.2 with the --with-mnogosearch option and with MySQL 4.0.13 installed from RPM . ./configure --with-mysql=/usr --with-gd --with-ttf --enable-track-vars --with-apxs2=/usr/local/apache2/bin/apxs --with-mnogosearch --with-jpeg-dir=/root/source/jpeg-6b/ --with-png-dir=/usr/local/lib/libpng.a --with-zlib-dir=/usr/local/lib/zlib.a --with-tiff-dir=/usr/local/lib/libtiff.a --with-mnogosearch It failed complaining about "ext/mysql/phpmysql.c: undefined reference to mysql_create_db". I downloaded the latest php-extension from www.mnogosearch.org (mnogosearch-php-extension-1.7.3.tar.gz) and replaced the contents of ext/mnogosearch with the files in this archive and it all worked a treat (with a quick edit to remove the second reference to -lmysqlclient in the EXTRA_LIBS line the PHP Makefile... but I think that mnoGo's fault!) -- Edit bug report at http://bugs.php.net/?id=24005&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24005&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24005&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24005&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24005&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24005&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24005&r=support Expected behavior: http://bugs.php.net/fix.php?id=24005&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24005&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24005&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24005&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24005&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24005&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24005&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24005&r=gnused
