seabird
18th April 2012, 10:29 PM
Hi everyone,
trying to get ruby installed and am encountering an error. Not sure if it is anything I did wrong or just incompatible? my steps:
#yum install ruby ruby-devel -y
#cd /tmp
#wget http://modruby.net/archive/mod_ruby-1.3.0.tar.gz
#tar zxvf mod_ruby-1.3.0.tar.gz
#cd mod_ruby-1.3.0/
#./configure.rb --with-apr-includes=/usr/include/apr-1
#make
#make install
#vi /etc/httpd/conf.d/ruby.conf
******start file**********
LoadModule ruby_module modules/mod_ruby.so
RubyAddPath /1.8
******save*******
systemctl restart httpd.service
Having done these steps give me this error in /var/log/messages:
Apr 18 23:08:38 server httpd[6214]: httpd: Syntax error on line 220 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf.d/ruby.conf: Cannot load /etc/httpd/modules/mod_ruby.so into server: /etc/httpd/modules/mod_ruby.so: undefined symbol: ruby_dln_librefs
any help is appreciated
trying to get ruby installed and am encountering an error. Not sure if it is anything I did wrong or just incompatible? my steps:
#yum install ruby ruby-devel -y
#cd /tmp
#wget http://modruby.net/archive/mod_ruby-1.3.0.tar.gz
#tar zxvf mod_ruby-1.3.0.tar.gz
#cd mod_ruby-1.3.0/
#./configure.rb --with-apr-includes=/usr/include/apr-1
#make
#make install
#vi /etc/httpd/conf.d/ruby.conf
******start file**********
LoadModule ruby_module modules/mod_ruby.so
RubyAddPath /1.8
******save*******
systemctl restart httpd.service
Having done these steps give me this error in /var/log/messages:
Apr 18 23:08:38 server httpd[6214]: httpd: Syntax error on line 220 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf.d/ruby.conf: Cannot load /etc/httpd/modules/mod_ruby.so into server: /etc/httpd/modules/mod_ruby.so: undefined symbol: ruby_dln_librefs
any help is appreciated