Quantcast
Channel: BitNami Answers - latest questions
Viewing all articles
Browse latest Browse all 2052

Failure to load mod_passenger.so: GLIBCXX_3.4.10 not found --- any ideas?

$
0
0

Hi,

I am using a Bitnami Ruby 1.9.3/Rails 3.2.12 stack on EC2, on a 64 bit instance. My understanding is that this EC2 stack includes Phusion Passenger and apache2. I want to use this to serve a Rails app I have developed earlier, and I edited /opt/bitnami/apache2/conf/bitnami/httpd.conf to add an appropriate VirtualHost entry for port 80.

I stopped the existing apache server, and tried to start the apache server using:

$ sudo /opt/bitnami/apache2/bin/apachectl restart

But this is unable to load the Passenger module and gives me the following error:

httpd: Syntax error on line 500 of /opt/bitnami/apache2/conf/httpd.conf: Syntax error on line 1 of /opt/bitnami/apache2/conf/bitnami/passenger.conf: Cannot load /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/passenger-3.9.1.beta/libout/apache2/mod_passenger.so into server: /opt/bitnami/common/lib/libstdc++.so.6: version `GLIBCXX_3.4.10' not found (required by /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/passenger-3.9.1.beta/libout/apache2/mod_passenger.so)

Switching to passenger-3.0.19 (which also appears to be included) gives me a similar error.

Wondering if anyone has any ideas on what I'm doing wrong/what can be done to fix this and start Apache and Rails properly.

Thanks a lot,

Arvind


Viewing all articles
Browse latest Browse all 2052