Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot load mod_ruby.so on Apache
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
avgerinos
n00b
n00b


Joined: 20 May 2012
Posts: 3

PostPosted: Sun May 20, 2012 4:12 pm    Post subject: Cannot load mod_ruby.so on Apache Reply with quote

Hello guys,

I cannot load mod_ruby.so on Apache.

When I add " -D RUBY" on APACHE_OPTS and I restart apache I get this message

Code:
apache2 has detected a syntax error in your configuration files:
apache2: Syntax error on line 141 of /etc/apache2/httpd.conf: Cannot load /usr/lib/apache2/module/mod_ruby.so into server: /usr/lib/apache2/module/mod_ruby.so: cannot open shared object file: No such file or directory


Does anyone know what's going on?

Thanks in advance
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Sun May 20, 2012 4:28 pm    Post subject: Reply with quote

I assume, that you did not install mod_ruby, but just modified /etc/apache2/httpd.conf.
undo your modifications, and emerge mod_ruby, then try again.

V.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
avgerinos
n00b
n00b


Joined: 20 May 2012
Posts: 3

PostPosted: Sun May 20, 2012 4:34 pm    Post subject: Reply with quote

Code:
 modules # ls
libphp5.so              mod_dav_fs.so      mod_negotiation.so
mod_actions.so          mod_dav_lock.so    mod_passenger.so
mod_alias.so            mod_deflate.so     mod_proxy.so
mod_auth_basic.so       mod_dir.so         mod_proxy_ajp.so
mod_authn_alias.so      mod_disk_cache.so  mod_proxy_balancer.so
mod_authn_anon.so       mod_env.so         mod_proxy_connect.so
mod_authn_dbm.so        mod_expires.so     mod_proxy_ftp.so
mod_authn_default.so    mod_ext_filter.so  mod_proxy_html.so
mod_authn_file.so       mod_fastcgi.so     mod_proxy_http.so
mod_authz_dbm.so        mod_fcgid.so       mod_rewrite.so
mod_authz_default.so    mod_file_cache.so  [b]mod_ruby.so[/b]
mod_authz_groupfile.so  mod_filter.so      mod_setenvif.so
mod_authz_host.so       mod_headers.so     mod_speling.so
mod_authz_owner.so      mod_include.so     mod_ssl.so
mod_authz_user.so       mod_info.so        mod_status.so
mod_autoindex.so        mod_log_config.so  mod_unique_id.so
mod_cache.so            mod_logio.so       mod_userdir.so
mod_cgi.so              mod_mem_cache.so   mod_usertrack.so
mod_cgid.so             mod_mime.so        mod_vhost_alias.so
mod_dav.so              mod_mime_magic.so


I have already installed it :/
Back to top
View user's profile Send private message
avgerinos
n00b
n00b


Joined: 20 May 2012
Posts: 3

PostPosted: Mon May 21, 2012 11:07 am    Post subject: Reply with quote

Got a new error :/

Code:
Cannot load /usr/lib/apache2/modules/mod_ruby.so into server: /usr/lib/apache2/modules/mod_ruby.so: undefined symbol: rb_cApacheRequest
Back to top
View user's profile Send private message
a3li
Retired Dev
Retired Dev


Joined: 02 Sep 2008
Posts: 122
Location: 독일

PostPosted: Sat Jun 23, 2012 2:39 pm    Post subject: Reply with quote

mod_ruby is really outdated. Unless you have a very specific reason to use that and nothing else, please take a look at passenger, unicorn, or thin (or even rack) as replacements.
_________________
I am Confuism. Do not bother me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum