LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-16-2004, 12:20 AM   #1
ewlnxnewB
Member
 
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 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

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

Rep: Reputation: 47
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
 
Old 10-22-2004, 03:33 AM   #3
ewlnxnewB
Member
 
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.
 
  


Reply


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 02:45 PM
Curl and PHP...? hurieka Linux - Software 6 09-28-2004 11:14 PM
slackware, apache and PHP from .tgz - problems with PHP szymon Slackware 2 09-06-2004 04:57 PM
php and curl Risen Linux - Software 0 09-02-2003 03:41 PM
PHP and CURL install on Mandrake 9 dmcentire Linux - Distributions 0 10-21-2002 07:55 PM


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

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