#29147 [Opn->Csd]: Compile Error in mnoGoSearch functions)
| From: | gluke@php.net | Date: | Sun, 18 Jul 2004 11:19:15 +0000 |
| Subject: | #29147 [Opn->Csd]: Compile Error in mnoGoSearch functions) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62567@lists.php.net to get a copy of this message | ||
ID: 29147
Updated by: gluke@php.net
Reported By: sebastian at nohn dot net
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Linux 2.4 (Debian Woody)
PHP Version: 5.0.0
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
I committed this patch into CVS.
Thank you.
Previous Comments:
------------------------------------------------------------------------
[2004-07-18 12:33:08] gluke@php.net
Thank you.
I will check your patch and commit to php cvs soon.
------------------------------------------------------------------------
[2004-07-16 10:31:59] sebastian at nohn dot net
This patch seems to fix the problem. PHP5 compiles and the mnoGoSearch
extensions works fine.
Thanks a lot!
------------------------------------------------------------------------
[2004-07-16 08:28:45] tony2001@php.net
Could you please try the patch below?
http://tony2004.phpclub.net/dev/tmp/mnogo.diff
------------------------------------------------------------------------
[2004-07-15 19:57:19] Bjorn dot Wiberg at its dot uu dot se
I experience the same error on IBM AIX 5.2.0.0 ML3 with PHP 5.0.0
(release) and mnoGoSearch 3.1.21 installed in the standard location
/usr/local/mnogosearch.
PHP has been configured with (excerpt from config.nice):
CPPFLAGS='-I/usr/local/include' \
LDFLAGS='-L/lib -L/opt/freeware/lib -L/usr/local/lib' \
CC='/usr/local/bin/gcc' \
'./configure' \
'--enable-bcmath' \
'--enable-calendar' \
'--enable-dba' \
'--enable-exif' \
'--enable-embedded-mysqli' \
'--enable-debug' \
'--enable-filepro' \
'--enable-gd-jis-conv' \
'--enable-gd-native-ttf' \
'--enable-mbstring' \
'--enable-memory-limit' \
'--enable-versioning' \
'--enable-zend-multibyte' \
'--prefix=/apache/php' \
'--with-apxs2=/apache/bin/apxs' \
'--with-apxs2filter=/apache/bin/apxs' \
'--with-freetype-dir' \
'--with-gd' \
'--with-gdbm' \
'--with-gettext' \
'--with-inifile' \
'--with-jpeg-dir' \
'--with-ldap' \
'--with-libxml-dir' \
'--with-mime-magic' \
'--with-mnogosearch' \
'--with-mysql=/usr/local/mysql' \
'--with-openssl=/opt/freeware' \
'--with-png-dir' \
'--with-tiff-dir' \
'--with-ttf' \
'--with-xpm-dir' \
'--with-zlib' \
'--with-zlib-dir'
The error message I get is:
---8<---cut---
s_API.lo Zend/zend_mm.lo Zend/zend_default_classes.lo
Zend/zend_reflection_api.lo Zend/zend_execute.lo sapi/cli/php_cli.lo
sapi/cli/getopt.lo main/internal_functions_cli.lo -o sapi/cli/php
-L/opt/freeware/lib -L/usr/X11R6/lib -L/usr/local/lib
-L/usr/local/mysql/lib -L/usr/local/mnogosearch/lib
-L/usr/local/mysql/lib/mysql -lz -lm -lldap -lssl -lcrypto -ls -llber
-lintl -liconv -lfreetype -lz -lX11 -lXpm -lpng -lz -ljpeg -lgdbm -lz
-lssl -lcrypto -lm -lz -liconv -lm -lz -liconv -lm -lz -liconv -lm -lz
-liconv -lm -lmysqlclient -lz -lcrypt -lnsl_r -lm -lm -lz -lcrypto
-lssl /usr/local/mnogosearch/lib/libudmsearch.a -lmysqlclient -lm -lz
-lcrypto -lssl -lz -liconv -lm -lz -liconv -lm -lxml2 -lpthread -lz
-liconv -lm -lz -liconv -lm -Wl,-bnolibpath
-Wl,-blibpath:/usr/local/lib:/opt/freeware/lib:/usr/local/mysql/lib/mysql:/usr/X11R6/lib:/usr/local/mysql/lib:/usr/local/mnogosearch/lib:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .UdmMalloc
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: The error code from the last command is 1.
Stop.
------------------------------------------------------------------------
[2004-07-14 21:30:43] php at arwin dot net
I had the same error when trying to include support for mnogosearch.
The exact same configuration worked fine in php 5.0.0RC3.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/29147
--
Edit this bug report at http://bugs.php.net/?id=29147&edit=1