Forum: Ruby on Rails Attempting to install passenger 3.0.19 and getting mod_passenger: can't open shared object file

Posted by Lovell Mcilwain (lmcilwain)
on 2013-03-01 17:48
(Received via mailing list)
Hello all,

I am trying to install passenger on a server that has apache installed 
from
source. The install seemed to work fine but when I restart the httpd
service I get the following error:

Starting httpd: httpd: Syntax error on line 451 of
/usr/local/apache2/conf/httpd.conf: Syntax error on line 1 of
/usr/local/apache2/conf/extra/httpd-passenger.conf: Cannot load
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/ext/apache2/mod_passenger.so
into server:
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/ext/apache2/mod_passenger.so:
cannot open shared object file: No such file or directory

My current environment is:
Centos 6.2
Apache 2
Rails 3.2.12
Passenger 3.0.19
Ruby 1.9.3p392

I have not found a way to address this issue and my google searching 
hasn't
revealed any concrete way to solve this. Any help is greatly 
appreciated.
Posted by Jordon Bedwell (Guest)
on 2013-03-01 17:50
(Received via mailing list)
On Fri, Mar 1, 2013 at 10:46 AM, Vell <lovell.mcilwain@gmail.com> wrote:
> cannot open shared object file: No such file or directory
sudo find / -name mod_passenger.so
Change your so line to that file.
Posted by Lovell Mcilwain (lmcilwain)
on 2013-03-01 18:00
(Received via mailing list)
Thanks Jordan thats what I needed. Sorry I didn't think of that solution 
on
my own.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.