#29364 [Opn->Bgs]: Causes compile failure
| From: | iliaa@php.net | Date: | Sun, 25 Jul 2004 17:28:04 +0000 |
| Subject: | #29364 [Opn->Bgs]: Causes compile failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63498@lists.php.net to get a copy of this message | ||
ID: 29364
Updated by: iliaa@php.net
Reported By: jwk at cbinc dot net
-Status: Open
+Status: Bogus
Bug Type: mnoGoSearch related
Operating System: Redhat 9
PHP Version: 4.3.8
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
This error occurs due to a symbol conflict between the two
underlying libraries, mysql & mnogosearch
Previous Comments:
------------------------------------------------------------------------
[2004-07-24 13:50:06] jwk at cbinc dot net
Description:
------------
When trying to compile PHP 4.3.8 or 5.0.0 with the mnogosearch
extension (either the version with the stable tarball, the latest
snapshot, or 1.91 from the mnogosearch.com website) the compile fails.
Reproduce code:
---------------
./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml
--enable-bcmath --enable-calendar --with-curl --enable-ftp --with-gd
--with-jpeg-dir=/usr/local --with-png-dir=/usr
--with-xpm-dir=/usr/X11R6 --with-gettext --with-mcrypt
--enable-magic-quotes --with-mysql=/usr --enable-discard-path
--with-pear --enable-sockets --enable-track-vars --with-ttf
--with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning
--with-zlib --with-mnogosearch
make
Expected result:
----------------
To compile
Actual result:
--------------
It produces this error:
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x990): first defined
here
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xc00): In function
`net_request_file':
: multiple definition of `net_request_file'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xc00): first defined
here
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
I ran configure without the --with-mnogosearch and it compiled and
installed fine.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29364&edit=1