#25774 [Opn->Fbk]: Problems with libcurl + kerberos
| From: | sniper@php.net | Date: | Tue, 07 Oct 2003 22:39:27 +0000 |
| Subject: | #25774 [Opn->Fbk]: Problems with libcurl + kerberos | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48670@lists.php.net to get a copy of this message | ||
ID: 25774
Updated by: sniper@php.net
Reported By: maido at net-style dot it
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Linux Redhat 8.0
PHP Version: 4.3.4RC1
New Comment:
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)
Previous Comments:
------------------------------------------------------------------------
[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] 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
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