#24005 [Ana]: Distributions version of mnoGoSearch extension does not work with MySQL 4
| From: | gluke@php.net | Date: | Wed, 11 Jun 2003 05:49:01 +0000 |
| Subject: | #24005 [Ana]: Distributions version of mnoGoSearch extension does not work with MySQL 4 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-41661@lists.php.net to get a copy of this message | ||
ID: 24005
Updated by: gluke@php.net
Reported By: paul at ensigma dot com dot au
Status: Analyzed
Bug Type: mnoGoSearch related
Operating System: RedHat 9
PHP Version: 4.3.2
Assigned To: gluke
New Comment:
Yes. I will update PHP_4_3 source code branch soon.
It means that updates extension will go to possible PHP-4.3.3 release
in future.
Previous Comments:
------------------------------------------------------------------------
[2003-06-10 23:09:28] paul at ensigma dot com dot au
There is still the issue of the old version of mnoGoSearch in the 4.3.2
source code... has that been updated??
------------------------------------------------------------------------
[2003-06-10 09:34:41] gluke@php.net
It seems to be because of buggy gcc-3.x compiler in your distribution.
The normal gcc behavior is to ignore -l switch dupes.
------------------------------------------------------------------------
[2003-06-06 06:32:32] sniper@php.net
Sergey, deal with this.
------------------------------------------------------------------------
[2003-06-03 21:24:12] paul at ensigma dot com dot au
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 this bug report at http://bugs.php.net/?id=24005&edit=1