Created
November 7, 2011 14:27
-
-
Save 0xGGGGG/1345162 to your computer and use it in GitHub Desktop.
solution to errors while installing passenger-nginx-module on ubuntu 11.10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# passenger-nginx-module will try to compile nginx if you choose option 1, so it will try to use gcc. | |
# default gcc version on ubuntu 11.10 is gcc-4.6 and there will be linkage order problems while compilation of nginx | |
# to pass that issue you can simply install gcc-4.4 and tell passenger to use that specific version. | |
#first install gcc-4.4 | |
sudo apt-get install gcc-4.4 g++-4.4 libstdc++6-4.4-dev | |
#then install passenger-nginx-module by telling specific gcc version will be used | |
rvmsudo CC=gcc-4.4 passenger-install-nginx-module # if you use rvm | |
sudo CC=gcc-4.4 passenger-install-nginx-module # otherwise |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
really works bro :)