Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
error while loading shared libraries: libruby.so.1.8: cannot open shared object file: No such file or directory
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sebastian  
View profile  
 More options Mar 24 2010, 7:19 am
From: Sebastian <SebastianKrai...@gmx.de>
Date: Wed, 24 Mar 2010 04:19:38 -0700 (PDT)
Local: Wed, Mar 24 2010 7:19 am
Subject: error while loading shared libraries: libruby.so.1.8: cannot open shared object file: No such file or directory
Hi there,

I installed Passenger into Apache but my Rails application won't be
served. I get a 500 Internal Server Error. The Apache error log says:

---------- error_log ----------
/opt/bitnami/ruby/bin/.ruby.bin: error while loading shared libraries:
libruby.so.1.8: cannot open shared object file: No such file or
directory
[ pid=9113 file=ext/apache2/Hooks.cpp:727 time=2010-03-24
10:24:18.271 ]:
  Unexpected error in mod_passenger: Cannot spawn application '/opt/
bitnami/projects/event/current': Could not read from the spawn server:
Connection reset by peer (104)
  Backtrace:
     in 'virtual boost::shared_ptr<Passenger::Application::Session>
Passenger::ApplicationPoolServer::Client::get(const
Passenger::PoolOptions&)' (ApplicationPoolServer.h:471)
     in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:523)
---------------------------------

There's a neat installation of the required ruby lib within /opt/
bitnami/ruby/lib. It contains libruby.so.1.8, which is a symbolic link
and points to the file libruby.so.1.8.7 in the same directory. The
ruby configuration seems to point to that directory as well.

Static content of the "public" directory is served fine, btw.

I feel I'm missing something very basic here but I just can't get it
to work. Any help from you would be highly appreciated. Thanks in
advance,
Sebastian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hongli Lai  
View profile  
 More options Mar 24 2010, 3:36 pm
From: Hongli Lai <hon...@phusion.nl>
Date: Wed, 24 Mar 2010 20:36:57 +0100
Local: Wed, Mar 24 2010 3:36 pm
Subject: Re: error while loading shared libraries: libruby.so.1.8: cannot open shared object file: No such file or directory

On Wed, Mar 24, 2010 at 12:19 PM, Sebastian <SebastianKrai...@gmx.de> wrote:
> Hi there,

> I installed Passenger into Apache but my Rails application won't be
> served. I get a 500 Internal Server Error. The Apache error log says:

> ---------- error_log ----------
> /opt/bitnami/ruby/bin/.ruby.bin: error while loading shared libraries:
> libruby.so.1.8: cannot open shared object file: No such file or
> directory

Looks like the Bitnami stack's Ruby needs some environment variables.
Is there a /opt/bitname/ruby/bin/ruby? Try setting PassengerRuby to
that.

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: i...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sebastian  
View profile  
 More options Mar 25 2010, 7:00 am
From: Sebastian <SebastianKrai...@gmx.de>
Date: Thu, 25 Mar 2010 04:00:49 -0700 (PDT)
Local: Thurs, Mar 25 2010 7:00 am
Subject: Re: error while loading shared libraries: libruby.so.1.8: cannot open shared object file: No such file or directory
On 24 Mrz., 20:36, Hongli Lai <hon...@phusion.nl> wrote:

> Looks like the Bitnami stack's Ruby needs some environment variables.
> Is there a /opt/bitname/ruby/bin/ruby? Try setting PassengerRuby to
> that.

Thanks for the hint. I included that like the installation
instructions of passenger said:

----------- httpd.conf snippet ------------
LoadModule passenger_module /opt/bitnami/ruby/lib/ruby/gems/1.8/gems/
passenger-2.2.11/ext/apache2/mod_passenger.so
PassengerRoot /opt/bitnami/ruby/lib/ruby/gems/1.8/gems/
passenger-2.2.11
PassengerRuby /opt/bitnami/ruby/bin/ruby
---------------------------------------------------


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sebastian  
View profile  
 More options Mar 25 2010, 7:07 am
From: Sebastian <SebastianKrai...@gmx.de>
Date: Thu, 25 Mar 2010 04:07:18 -0700 (PDT)
Local: Thurs, Mar 25 2010 7:07 am
Subject: Re: error while loading shared libraries: libruby.so.1.8: cannot open shared object file: No such file or directory
On 25 Mrz., 12:00, Sebastian <SebastianKrai...@gmx.de> wrote:

> Thanks for the hint. I included that like the installation
> instructions of passenger said:

Meaning: It has already been there, so that wasn't the problem

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hongli Lai  
View profile  
 More options Mar 25 2010, 8:41 am
From: Hongli Lai <hon...@phusion.nl>
Date: Thu, 25 Mar 2010 13:41:29 +0100
Local: Thurs, Mar 25 2010 8:41 am
Subject: Re: [phusion-passenger] Re: error while loading shared libraries: libruby.so.1.8: cannot open shared object file: No such file or directory

On Thu, Mar 25, 2010 at 12:07 PM, Sebastian <SebastianKrai...@gmx.de> wrote:
> On 25 Mrz., 12:00, Sebastian <SebastianKrai...@gmx.de> wrote:
>> Thanks for the hint. I included that like the installation
>> instructions of passenger said:

> Meaning: It has already been there, so that wasn't the problem

I think you need to ask the Bitnami guys. This is almost certainly a
problem in the Ruby installation.

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: i...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »