Hello,
I am trying to install PHP 5.3 from source on OS RH ( arch
x86_64 ) using ./configure --with-curl and i get the following error
in the config.log
configure:27042: checking for curl_easy_perform in -lcurl
configure:27061: gcc -o conftest -g -O2 -fvisibility=hidden
-Wl,-rpath,/usr/kerberos/lib64 -L/usr/kerberos/lib64
-Wl,-rpath,/usr/kerberos/lib64 -L/usr/kerberos/lib64 -lcurl -ldl
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz
conftest.c -lcurl -lcurl -lm -ldl -lnsl -lxml2 -lz -lm -lcurl -ldl
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz
1>&5
/usr/bin/ld: skipping incompatible /usr/lib/libkrb5.so when searching for -lkrb5
/usr/bin/ld: skipping incompatible /usr/lib/libkrb5.a when searching for -lkrb5
/usr/bin/ld: cannot find -lkrb5
collect2: ld returned 1 exit status
configure: failed program was:
#line 27050 "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; }
As i read the problem could be do to a mismatch in the library
versions for 64 bits, i tried the suggested solution:
ln -sf /usr/lib64/libkrb5.so /usr/lib/libkrb5.so
ln -sf /usr/lib64/libkrb5.a /usr/lib/libkrb5.a
Then the errors "/usr/bin/ld: skipping incompatible
/usr/lib/libkrb5.so when searching for -lkrb5" and "/usr/bin/ld:
skipping incompatible /usr/lib/libkrb5.a when searching for -lkrb5"
stopped appearing but i still get the "/usr/bin/ld: cannot find
-lkrb5" error.
Does anybody know what could be the problem?
Thanks in advance.
Alina.
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]