ID: 25774 User updated by: maido at net-style dot it Reported By: maido at net-style dot it -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Linux Redhat 8.0 PHP Version: 4.3.4RC2-dev New Comment:
Yep i have the zlib there, anyway since I was the only one esperienced the error, I'm looking forward to complete a total system revision, maybe the problem is hidden somewhere in some related library package... I _hate_ rpms libs *sigh* Previous Comments: ------------------------------------------------------------------------ [2003-10-07 18:39:26] [EMAIL PROTECTED] So if you take the PHP 4.3.3 release package and build that, it compiles with the exact same configure line just fine? btw. Do you really have zlib/png installed in /usr/include ?? (I doubt it, you should be using /usr for those options) ------------------------------------------------------------------------ [2003-10-07 09:11:43] maido at net-style dot it Nothing to do, the problem is still there with the latest CVS snapshot ------------------------------------------------------------------------ [2003-10-07 06:19:08] [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 Not 100% sure but I think this is fixed already. ------------------------------------------------------------------------ [2003-10-07 06:17:35] maido at net-style dot it Of course I'm referring to version 4.3.4RC1, not 4.3.4RC4, my apologies... ------------------------------------------------------------------------ [2003-10-07 06:14:18] maido at net-style dot it Description: ------------ Compilation with the following configure line went perfectly ok with versions prior to 4.3.4RC4: ./configure --with-mysql=/usr/local/mysql --enable-track-var --with-zlib --enable-ftp --with-gd --with-jpeg-dir=/usr/include --with-png-dir=/usr/include --with-zlib-dir=/usr/include --with-freetype --with-curl --enable-sockets --with-apxs2=/usr/apache2/bin/apxs With version 4.3.4RC4 I get a compile error, listed below. My libraries: openssl-0.9.7a curl-7.9.8-1 krb5-libs-1.3.1-6 Reproduce code: --------------- n/a Expected result: ---------------- I would expect a proper compilation Actual result: -------------- This is a snapshot of my config.log configure:20468: checking for curl_easy_perform in -lcurl configure:20487: gcc -o conftest -g -O2 -lcurl -lssl -lcrypto -ldl conftest.c -lcurl -lcurl -lz -lresolv -lm -ldl -lnsl -lcurl -lssl -lcrypto -ldl 1>&5 /usr/lib/libgssapi_krb5.so.2: undefined reference to `add_error_table' /usr/lib/libgssapi_krb5.so.2: undefined reference to `remove_error_table' collect2: ld returned 1 exit status configure: failed program was: #line 20476 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char curl_easy_perform(); int main() { curl_easy_perform() ; return 0; } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25774&edit=1