#25352 [Opn->Bgs]: Cannot compile without --disable-cli

From: Date: Mon, 01 Dec 2003 07:32:13 +0000
Subject: #25352 [Opn->Bgs]: Cannot compile without --disable-cli
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51426@lists.php.net to get a copy of this message
ID: 25352 Updated by: sniper@php.net Reported By: gluke@php.net -Status: Open +Status: Bogus Bug Type: mnoGoSearch related Operating System: FreeBSD PHP Version: 4.3.4-dev New Comment: It's a libtool bug with invalid .la files, in this case the installed libudmsearch.la file is broken. Remove that and this should work fine. Previous Comments: ------------------------------------------------------------------------ [2003-09-10 02:06:58] gluke@php.net [root@faust root]# /opt/mnogo/bin/udm-config --libs -lz -lm -L/usr/local/lib/mysql -lmysqlclient -L/opt/mnogo/lib -lmnogosearch -lmn ogocharset [root@faust root]# P.S. Remember please that apache module compile and work ok, and removing libtool call make PHP cli compile and work too. ------------------------------------------------------------------------ [2003-09-09 10:10:12] sniper@php.net 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!!!!) ------------------------------------------------------------------------ [2003-09-09 04:02:07] gluke@php.net 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] sniper@php.net 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] sniper@php.net Please try applying this patch: http://www.php.net/~jani/patches/bug25352.patch And do: # ./cvsclean && ./buildconf And then try your original configure. ------------------------------------------------------------------------ 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

« previous php.bugs (#51426) next »