joyent/node — Issue #2805: OpenSSL and the OS X .pkg
Author: aashay
Created: 2012-02-22 07:00:17+00:00
State: open

After upgrading node from 0.4.x (installed via homebrew) to 0.6.11 (installed via the .pkg on the site) I ran into issues with my server not being able to use the bcrypt module. After discussion with the repo maintainer I narrowed it down to the fact that node was simply not able to use OpenSSL (more specifically it was "Unabled to load shared library").

Compiling node from source (installing pkg-configure first) worked around this (although I did run into the SegFault 11 issue but that's another story).

Even though Apple deprecated OpenSSL in 10.7, it seems to still make sense to either provide some sort of warning or error to the user upon install that the pkg installer could not find OpenSSL and there may be issues. It'll save a lot of people a lot of time and frustration in hunting down these types of issues.