passenger: passenger-install-apache2-module fails with OpenSSL development headers not found on OSX El Capitan
After upgrading to El Capitan I’m unable to install the Apache module by running passenger-install-apache2-module.
I’m getting this error:
* Checking for OpenSSL development headers... Found: no
There’s for sure a default installation of OpenSSL on the system, also tried installing the latest one (OpenSSL 1.0.2d 9 Jul 2015) to /opt/local/bin/openssl but that did not help at all. Still the same problem.
How can I point to the correct path?
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 53 (15 by maintainers)
Links to this issue
Commits related to this issue
- Autodetect Homebrew OpenSSL on OS X 10.11 El Capitan Closes GH-1630. — committed to phusion/passenger by FooBarWidget 9 years ago
- Update El Capitan section I used the instructions on the following comment and it worked for me: https://github.com/phusion/passenger/issues/1630#issuecomment-147527656 This should help to fix th... — committed to ctulek/rust-openssl by ctulek 8 years ago
For those that use homebrew, you can simply install openssl using homebrew.
Make sure that you have updated XCode and agreed to the license and then run
Then you can simply run the following with the included environment variables
@CamJN thank you but I was able to figure out the problem. First is the issue with internal package which is resolved by adding this to
./configureAnother one is disabling
csrutilfor some reason after update it was enabled for me again. But of course I wouldn’t recommend anyone to do that if they don’t know what they are doing.Did it for me 😃
Amazingly I came across this issue in 2021 still. I checked where passenger was looking for open ssl by passing the
VERBOSE = 1option after that I linked openssl to one of the folders listed:sudo ln -s /opt/homebrew/opt/openssl@1.1/include/openssl /opt/local/include/openssl