-   Linux - Software (
-   -   curl/php/apache install problems (

ewlnxnewB 10-16-2004 01:20 AM

apache make fails
Sorry if someone has hit on this subject previously I have been searching without luck. I am trying to add curl to PHP4 and Apache 1.31 on redhat 9.

It appears that I am getting curl installed without a problem(no errors). And php shows it to be present
ldd => /usr/lib/ (0x4017b000) => /usr/lib/ (0x4019b000) => /usr/lib/ (0x401b4000) => /lib/ (0x401f3000) => /usr/lib/ (0x401fb000) => /usr/lib/ (0x40228000) => /usr/lib/ (0x4025a000) => /lib/ (0x40345000) => /usr/lib/ (0x403ed000) => /lib/ (0x403f4000) => /usr/kerberos/lib/ (0x403f6000) => /usr/kerberos/lib/ (0x40406000) => /usr/kerberos/lib/ (0x40465000) => /usr/lib/ (0x40478000) => /usr/lib/ (0x4049b000) => /lib/ (0x404aa000) => /lib/ (0x404df000) => /lib/tls/ (0x405d0000)

phpinfo() shows nothing for curl

and unable to get apache to make keep getting this.

lcrypto -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcrypt -lcrypt -lm -lcrypt -lssl -lcrypto -lexpat
/usr/lib/libc-client.a(osdep.o)(.text+0x87a6): In function `ssl_server_init':
/usr/src/redhat/SOURCES/imap-2004/c-client/osdep.c:267: the use of `tmpnam' is dangerous, better use `mkstemp'

modules/php4/libphp4.a(curl.o)(.text+0x1e): In function `zm_info_curl':
/usr/src/redhat/SOURCES/php-4.3.8/ext/curl/curl.c:108: undefined reference to `curl_version'
modules/php4/libphp4.a(curl.o)(.text+0xe45): In function `zm_startup_curl':
/usr/src/redhat/SOURCES/php-4.3.8/ext/curl/curl.c:329: undefined reference to `curl_global_init'
modules/php4/libphp4.a(curl.o)(.text+0xe63): In function `zm_shutdown_curl':
/usr/src/redhat/SOURCES/php-4.3.8/ext/curl/curl.c:354: undefined reference to `curl_global_cleanup'
modules/php4/libphp4.a(curl.o)(.text+0x1669): In function `zif_curl_version':
/usr/src/redhat/SOURCES/php-4.3.8/ext/curl/curl.c:630: undefined reference to `curl_version'
modules/php4/libphp4.a(curl.o)(.text+0x179f): In function `zif_curl_init':
/usr/src/redhat/SOURCES/php-4.3.8/ext/curl/curl.c:669: undefined reference to `curl_easy_init'

I would really appreciate any help I have been all over, through curl.c and am googled to death. Please help.


320mb 10-18-2004 10:57 AM

Well, I put PHP on my LFS box................the BLFS book show these as dependencies.............


PHP dependencies
OpenSSL-0.9.7c, bc-1.06, cURL-7.10.7, Berkeley DB-4.1.25, libjpeg-6b, libpng-1.2.5, FreeType-2.1.5, MySQL-4.0.15a and Apache-2.0.47

ewlnxnewB 10-22-2004 04:33 AM

Tonight I reconfigured apache completely and all is well. I think I was forgetting to ./configure apache before trying to make make install. Hope my thoughtlessness saves someone else some time and headache.

All times are GMT -5. The time now is 06:07 PM.