Do take note that even in OSX 10.7.3, Apple didn’t update libssl and libcrypto. The easiest way to download them is thru MacPorts.
You can install MacPorts from HERE. *Select the “Lion” dmg package.
Then type this cmd line in your terminal:” sudo port install openssl +universal”.
However, I encountered a problem when I tried to install.
—
shi:~ William$ sudo port install openssl +universal
Password:
—> Computing dependencies for openssl
—> Dependencies to be installed: zlib
—> Staging zlib into destroot
Error: /opt/local/lib/libz.dylib is not in the destroot. Please clean zlib and try again.
Error: Target org.macports.destroot returned: missing /opt/local/lib/libz.dylib in destroot
Error: Failed to install zlib
Log for zlib is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_zlib/zlib/main.log
Error: The following dependencies were not installed: zlib
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
—
So I looked into “/opt/” & “usr” folder and look for libz.dylib file and found a similar file with version indicated : Ex: libz.1.2.5.dylib. I renamed the file (taking away the version no) and copy the file to destroot (/opt/local/var/macports/sources/rsync/macports.org/release/tarballs/ports/archivers/zlib) instead.
Then I tried “sudo port install openssl +universal, it shows me something else again:
—
Error: Target org.macports.activate returned: Image error: /opt/local/lib/libz.dylib already exists and does not belong to a registered port. Unable to activate port zlib. Use ‘port -f activate zlib’ to force the activation.
—
so I typed: “sudo port -f activate zlib” and got the whole thing setup:
—
shi:~ William$ sudo port -f activate zlib
—> Activating zlib @1.2.6_0+universal
Warning: File /opt/local/lib/libz.dylib already exists. Moving to: /opt/local/lib/libz.dylib.mp_1334731702.
—> Cleaning zlib
shi:~ William$ sudo port install openssl +universal
—> Computing dependencies for openssl
—> Fetching archive for openssl
—> Attempting to fetch openssl-1.0.1_2+universal.darwin_11.i386-x86_64.tbz2 from http://packages.macports.org/openssl
—> Fetching openssl
—> Attempting to fetch openssl-1.0.1.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/openssl
—> Verifying checksum(s) for openssl
—> Extracting openssl
—> Applying patches to openssl
—> Configuring openssl
—> Building openssl
—> Staging openssl into destroot
—> Installing openssl @1.0.1_2+universal
—> Activating openssl @1.0.1_2+universal
—> Cleaning openssl
—
Not easy right? Apple should have include this in 10.7.3 updates.























