Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.