#20046 [Fbk]: Can't build php and curl together correctly
| From: | sniper@php.net | Date: | Thu, 24 Oct 2002 07:29:20 +0000 |
| Subject: | #20046 [Fbk]: Can't build php and curl together correctly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23167@lists.php.net to get a copy of this message | ||
ID: 20046
Updated by: sniper@php.net
Reported By: robinson@redhat.com
Status: Feedback
-Bug Type: *Compile Issues
+Bug Type: Compile Failure
Operating System: BSDi 4.1
PHP Version: 4.2.2
New Comment:
As workaround, install Linux. (this is some wierd BSD thing and libtool
not liking each other)
Previous Comments:
------------------------------------------------------------------------
[2002-10-23 12:05:19] robinson@redhat.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-23 11:36:32] 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 11:30:58] robinson@redhat.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?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20046&edit=1