From:             jwk at cbinc dot net
Operating system: Redhat 9
PHP version:      4.3.8
PHP Bug Type:     mnoGoSearch related
Bug description:  Causes compile failure

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 bug report at http://bugs.php.net/?id=29364&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29364&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29364&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29364&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29364&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29364&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29364&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29364&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29364&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29364&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29364&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29364&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29364&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29364&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29364&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29364&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29364&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29364&r=float

Reply via email to