php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20046 Can't build php and curl together correctly
Submitted: 2002-10-23 11:30 UTC Modified: 2002-11-10 18:26 UTC
From: robinson at redhat dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.2.2 OS: BSDi 4.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: robinson at redhat dot com
New email:
PHP Version: OS:

 

 [2002-10-23 11:30 UTC] robinson at redhat dot com
If I do a ./configure --with-curl=[curldirectory] --with-openssl=[ssldirectory] and then do a Make, I get the following warnings:
*** Warning: This library needs some functionality provided by /usr/local/lib/li
bcurl.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lcrypto.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lssl.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lssl.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lcrypto.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lbind.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a *** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.




It will compile, however when I try and load the resulting php module into apache, it dies on startup with unresolved symbols: 
bin/httpd: can't resolve symbol 'RAND_load_file'
bin/httpd: can't resolve symbol 'curl_version'
bin/httpd: can't resolve symbol 'RAND_write_file'
bin/httpd: can't resolve symbol 'X509_set_subject_name'
bin/httpd: can't resolve symbol 'curl_formadd'
bin/httpd: can't resolve symbol 'SMIME_write_PKCS7'
bin/httpd: can't resolve symbol 'EVP_OpenInit'
bin/httpd: can't resolve symbol 'PKCS7_sign'
bin/httpd: can't resolve symbol 'EVP_SealInit'
bin/httpd: can't resolve symbol 'X509_set_issuer_name'
bin/httpd: can't resolve symbol 'curl_formfree'
bin/httpd: can't resolve symbol 'PKCS7_verify'
bin/httpd: can't resolve symbol 'curl_easy_getinfo'
bin/httpd: can't resolve symbol 'curl_easy_setopt'
bin/httpd: can't resolve symbol 'curl_global_cleanup'
bin/httpd: can't resolve symbol 'RAND_file_name'
bin/httpd: can't resolve symbol 'X509_REQ_print'
bin/httpd: can't resolve symbol 'SMIME_read_PKCS7'
bin/httpd: can't resolve symbol 'PKCS7_get0_signers'
bin/httpd: can't resolve symbol 'curl_easy_perform'
bin/httpd: can't resolve symbol 'curl_easy_init'
bin/httpd: can't resolve symbol 'EVP_SealFinal'
bin/httpd: can't resolve symbol 'PKCS7_decrypt'
bin/httpd: can't resolve symbol 'curl_global_init'
bin/httpd: can't resolve symbol 'PKCS7_encrypt'
bin/httpd: can't resolve symbol 'X509_set_version'
bin/httpd: can't resolve symbol 'curl_slist_free_all'
bin/httpd: can't resolve symbol 'X509_set_pubkey'
bin/httpd: can't resolve symbol 'curl_slist_append'
bin/httpd: can't resolve symbol 'EVP_OpenFinal'
bin/httpd: can't resolve symbol 'curl_easy_cleanup'
Cannot load modules/libexec/libphp4.so into server: Unable to resolve symbol


Any ideas?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-23 11:36 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-10-23 12:05 UTC] robinson at redhat dot com
Stuck on 4.2.2 for customer reasons, I don't mind trying the cvs snapshot, but I need to know if there is any know workaround, or what might cause this.
 [2002-10-24 02:29 UTC] sniper@php.net
As workaround, install Linux. (this is some wierd BSD thing and libtool not liking each other)

 [2002-11-10 18:26 UTC] sniper@php.net
Get back to this when you're running 4.3.0 or above..

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 23:01:33 2025 UTC