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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 17:01:29 2024 UTC