Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


  Search this Thread
Old 10-16-2004, 01:20 AM   #1
Registered: Oct 2003
Location: Honolulu, HI
Distribution: redhat 9, Fedora, Enterprise
Posts: 39

Rep: Reputation: 15
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.


Last edited by ewlnxnewB; 10-16-2004 at 12:58 PM.
Old 10-18-2004, 10:57 AM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
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
Old 10-22-2004, 04:33 AM   #3
Registered: Oct 2003
Location: Honolulu, HI
Distribution: redhat 9, Fedora, Enterprise
Posts: 39

Original Poster
Rep: Reputation: 15
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP/cURL housemusic42 Linux - Networking 0 10-07-2004 03:45 PM
Curl and PHP...? hurieka Linux - Software 6 09-29-2004 12:14 AM
slackware, apache and PHP from .tgz - problems with PHP szymon Slackware 2 09-06-2004 05:57 PM
php and curl Risen Linux - Software 0 09-02-2003 04:41 PM
PHP and CURL install on Mandrake 9 dmcentire Linux - Distributions 0 10-21-2002 08:55 PM > Forums > Linux Forums > Linux - Software

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration