ID: 25352
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: FreeBSD
PHP Version: 4.3.4-dev
New Comment:
What is the output of "udm-config --libs" for you?
(it should provide the libs needed, so you do NOT need --with-mysql!)
(and AGAIN, set the status to "Open" when you reply!!!!)
Previous Comments:
------------------------------------------------------------------------
[2003-09-09 04:02:07] [EMAIL PROTECTED]
I downloaded php4-STABLE-200309090530.
I run
make clean
rm -f config.cache
CFLAGS=-O2 ./configure --prefix=/usr/local \
--with-mysql=/usr/local \
--with-mnogosearch=/opt/mnogo \
--with-config-file-path=/usr/local/etc/apache2 \
--without-pear --enable-memory-limit \
--with-apxs2=/usr/local/sbin/apxs
make
The same error occurs while linking PHP CLI:
[...]
sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo
-lcrypt -lcrypt -lmysqlclient -lm -lz -lm -lmysqlclient -lmnogosearch
-lmnogoch
arset -lcrypt -lcrypt -o sapi/cli/php
libtool: link: cannot find the library `'
*** Error code 1
Stop in /opt/php/php4-STABLE-200309090530.
------------------------------------------------------------------------
[2003-09-08 09:10:37] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Try the snapshot in about one hour from now.
------------------------------------------------------------------------
[2003-09-06 21:07:27] [EMAIL PROTECTED]
Please try applying this patch:
http://www.php.net/~jani/patches/bug25352.patch
And do:
# ./cvsclean && ./buildconf
And then try your original configure.
------------------------------------------------------------------------
[2003-09-03 06:38:25] [EMAIL PROTECTED]
Please set the status correctly when you respond.
And without --with-mnogosearch (and --with-mysql) it compiles fine?
------------------------------------------------------------------------
[2003-09-03 02:02:05] [EMAIL PROTECTED]
I added --with-mysql=[path] to the proposed configure line, otherwise
mnogosearch api will not compile if mnogosearch was compiled with mysql
support.
But, this does not help, the linking process was stopped while building
CLI with the same error.
P.S. i tested this with apxs2 and apache2, but in the past i had this
error with the apache too.
------------------------------------------------------------------------
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/25352
--
Edit this bug report at http://bugs.php.net/?id=25352&edit=1