#19345 closed defect (fixed)
php5 (5.2.9) fails to configure, referring user to config.log for more details
Reported by: | a.lathrop@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | php5 openssl config.log | Cc: | jyrkiwahlstedt |
Port: | php5 |
Description
After attempting to install/upgrade to PHP 5.2.9, config.log in the macports php5 work directory shows numerous complaints of being unable to find:
"/opt/local/lib/libcrypto.1.0.0.dylib"
as well as several other libraries associated with the new (beta) version of OpenSSL (1.0.0-beta) which is not available from Mac Ports. the newest version of OpenSSL from Mac Ports is 0.9k.
Attachments (1)
Change History (7)
Changed 16 years ago by a.lathrop@…
Attachment: | config.log added |
---|
comment:1 Changed 16 years ago by a.lathrop@…
Cc: | a.lathrop@… added |
---|
comment:2 Changed 16 years ago by mf2k (Frank Schima)
Cc: | jwa@… added; a.lathrop@… removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
The reporter is automatically cc'ed.
comment:3 Changed 16 years ago by a.lathrop@…
Replying to a.lathrop@…:
After attempting to install/upgrade to PHP 5.2.9, config.log in the macports php5 work directory shows numerous complaints of being unable to find:
"/opt/local/lib/libcrypto.1.0.0.dylib"
as well as several other libraries associated with the new (beta) version of OpenSSL (1.0.0-beta) which is not available from Mac Ports. the newest version of OpenSSL from Mac Ports is 0.9k.
Correction: newest version is OpenSSL-0.9.8k
comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
openssl was upgraded from 0.9.8k to 1.0.0-beta1, but this was found to cause problems for many ports which expected there to be libraries called libcrypto.0.9.8.dylib and libssl.0.9.8.dylib. More importantly, 1.0.0-beta1 is beta software, and we prefer to use final released versions of software in MacPorts. Therefore, openssl was downgraded to 0.9.8k again.
I believe you upgraded openssl to 1.0.0-beta1 during the short time when it was in MacPorts, then built curl, then downgraded openssl back to 0.9.8k some time later, and now curl is complaining because it cannot find libcrypto.1.0.0.dylib or libssl.1.0.0.dylib. From your log:
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/lib/libssl.1.0.0.dylib referenced from: /opt/local/lib/libcurl.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/lib/libcrypto.1.0.0.dylib referenced from: /opt/local/lib/libcurl.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
You should forcibly rebuild curl, and any other port that is linking with libcrypto.1.0.0.dylib or libssl.1.0.0.dylib, so that it relinks with the libcrypto.0.9.8.dylib and libssl.0.9.8.dylib that are now on your system:
sudo port -nf upgrade curl
Cc Me!