Bug #12494 Updated: ./configure: "-lc-client" not in EXTRA_LIBS

From: Date: Sat, 11 Aug 2001 16:21:49 +0000
Subject: Bug #12494 Updated: ./configure: "-lc-client" not in EXTRA_LIBS
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-62948@lists.php.net to get a copy of this message
ID: 12494 Updated by: sniper Reported By: brendanb@missiondata.net Old Status: Feedback Status: Closed Bug Type: IMAP related Operating System: Linux PHP Version: 4.0.6 New Comment: Reopen if latest CVS snapshot doesn't work for you. --Jani Previous Comments: ------------------------------------------------------------------------ [2001-08-03 11:20:53] sniper@php.net Could you please try the latest CVS snapshot from http://snaps.php.net/ There have been some fixes which should have fixed this problem too. --Jani ------------------------------------------------------------------------ [2001-08-03 11:08:46] brendanb@missiondata.net Well, the php configure is: ./configure --with-apxs --with-openssl --with-zlib \ --with-bz2 --with-db3 --enable-ftp \ --with-gettext --with-java --with-ldap \ --with-imap \ --with-kerberos \ --with-mysql The c-client is "imap-2001.BETA.SNAP-0107221451", with a Last Edited entry on c-client.h as: "24 October 2000" (if that matters...). The make line, as far I remember, was a simple "make", but I've since deleted that source tree for IMAP. Worth noting that after I hacked the configure file, PHP compiled and installed just fine. I have a libphp4.so that is working well. ------------------------------------------------------------------------ [2001-07-31 19:54:12] sniper@php.net Could you please add the configure line you used for PHP? And version of c-client lib and the make line for it. --Jani ------------------------------------------------------------------------ [2001-07-31 15:05:59] brendanb@missiondata.net For some reason, "-lc-client" disappears from $LIBS before it has a chance to get copied onto $EXTRA_LIBS. As a result, this produces the famous "undefined symbol: mxdriver" error that you've been having problems with in the past. Yes, I have the library file. Yes, I've included the --with-imap switch. Yes, I've spend close to 5 hours on this problem. And no, I'm not a dumbass. Despite popular opinion among the PHP developers, this is --NOT-- a user configuration error! This --IS-- a bug! There is a problem somewhere in the ./configure program. Somewhere between the LIBS statement for c-client (line 22880) and the EXTRA_LIBS = LIBS statement (line 55067), the -lc-client statement disappears or (more possibly) the statement was never there in the first place. However, all of the Kerberos switchs DO exist, such as "-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err". My guess: Either there is a missing c-client case block near line 22679-22786 and/or c-client is not included if the user does NOT use the --with-imap-ssl switch (which is my case). Being a GNU developer myself, I can understand the need to dismiss most "bugs" as user error, but I can assure you that this is not the case. Brendan Byrd ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12494&edit=1

« previous php.dev (#62948) next »