From:             [EMAIL PROTECTED]
Operating system: BSDi 4.1
PHP version:      4.2.2
PHP Bug Type:     *Compile Issues
Bug description:  Can't build php and curl together correctly

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 bug report at http://bugs.php.net/?id=20046&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20046&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20046&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20046&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20046&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20046&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20046&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20046&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20046&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20046&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20046&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20046&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20046&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20046&r=isapi

Reply via email to