From:             maido at net-style dot it
Operating system: Linux Redhat 8.0
PHP version:      4.3.4RC1
PHP Bug Type:     Compile Failure
Bug description:  Problems with libcurl + kerberos

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 bug report at http://bugs.php.net/?id=25774&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25774&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25774&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25774&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25774&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25774&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25774&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25774&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25774&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25774&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25774&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25774&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25774&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25774&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25774&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25774&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25774&r=float

Reply via email to