Hello,
I am trying to compile php-4.3.8 on a Red Hat Enterprise 3 ES server
with support for Sybase 12.5.
The configure script is as follows:
Note: The CC prefix line below is used as a workaround for a library
problem with Sybase on Red Hat Enterprise.
CC="gcc296 -I/usr/lib/i386-redhat-linux7/include/
-B/usr/lib/i386-redhat-linux7/lib/" \
./configure '--prefix=/usr/local/php-4.3.8' '--enable-shared'
'--with-sybase-ct=/opt/sybase-12.5/OCS' '--with-regex=system'
'--with-zlib' '--with-curl'
Without '--with-curl' the above configure; make; make install works
fine.
My problem is with trying to compile in support for curl. The version of
curl is 7.10.6 (Red Hat Enterprise RPM).
During the PHP make the PHP config.log reports the following errors:
configure:20566: gcc296 -I/usr/lib/i386-redhat-linux7/include/
-B/usr/lib/i386-redhat-linux7/lib/ -o conftest -I/usr/kerberos/include
-Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib
-Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib
-Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib -lcurl -lssl -lcrypto
-lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz -lssl
-lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto
-lresolv -ldl -lz -lz conftest.c -lcurl -lcurl -lz -lresolv -lm -ldl
-lnsl -lcurl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto
-lresolv -ldl -lz -lz -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5
-lcom_err -lk5crypto -lresolv -ldl -lz -lz 1>&5
/usr/lib/gcc-lib/i386-redhat-linux7/2.96/../../../libcurl.so: undefined
reference to `__ctype_b_loc@xxxxxxxxx'
/usr/lib/gcc-lib/i386-redhat-linux7/2.96/../../../libcurl.so: undefined
reference to `__ctype_toupper_loc@xxxxxxxxx'
/usr/lib/gcc-lib/i386-redhat-linux7/2.96/../../../libcurl.so: undefined
reference to `__ctype_tolower_loc@xxxxxxxxx'
Does anyone have any ideas about how to resolve this problem?
Thanks
Alick Bridger
--
Alick Bridger
Linux Systems Administrator
Eckoh Technologies (UK) Limited
Telford House, Corner Hall,
Hemel Hempstead, Hertfordshire HP3 9HN
T 08701 107194
F 08701 107107
M n/a
W www.eckoh.com
This communication contains information, which is confidential and may also be
privileged. It is for the exclusive use of the intended recipient(s) only. If
you are not the intended recipient(s) please note that any form of
distribution, copying or use of this communication or the information in it is
strictly prohibited and may be unlawful. If you have received this
communication in error please return it to the sender and then delete it.
Opinions expressed in this message are those of the author, and are not binding
on the company.
Registered in England and Wales, No. 2796531
Registered office: Telford House, Corner Hall, Hemel Hempstead, Hertfordshire
HP3 9HN
A member of the Eckoh Technologies plc group of companies.
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|