LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   curl/php/apache install problems (http://www.linuxquestions.org/questions/linux-software-2/curl-php-apache-install-problems-243283/)

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 libphp4.so
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x4017b000)
libpspell.so.4 => /usr/lib/libpspell.so.4 (0x4019b000)
libncurses.so.5 => /usr/lib/libncurses.so.5 (0x401b4000)
libpam.so.0 => /lib/libpam.so.0 (0x401f3000)
libgmp.so.3 => /usr/lib/libgmp.so.3 (0x401fb000)
libgd.so.1.8 => /usr/lib/libgd.so.1.8 (0x40228000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x4025a000)
libdb-4.0.so => /lib/libdb-4.0.so (0x40345000)
libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x403ed000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x403f4000)
libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x403f6000)
libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x40406000)
libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2 (0x40465000)
libcurl.so.2 => /usr/lib/libcurl.so.2 (0x40478000)
libbz2.so.1 => /usr/lib/libbz2.so.1 (0x4049b000)
libssl.so.4 => /lib/libssl.so.4 (0x404aa000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x404df000)
libm.so.6 => /lib/tls/libm.so.6 (0x405d0000)
etc...


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.

Thanks

320mb 10-18-2004 10:57 AM

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

Quote:

PHP dependencies
Required
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 09:44 AM.