help with install

"Mike A. Kenny" <[email protected]> Sat, 25 Nov 2006 08:48:15 +0200 (SAST)
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <29573930.151164437295867.JavaMail.root@geriatrix>
I am running on Ubuntu 6.0.6 using:
ruby 1.8.5 (2006-08-25) [i686-linux]
Rails 1.1.6
gem 0.9.0

I downloaded eruby 1.0.5 and ran:

$ ./configure.rb --with-apxs=/usr/bin/apxs2 --enable-shared
$ make
$ sudo make install

and update httpd.conf to reference the shared object. Not mod_ruby.so as  stated in the wiki but liberuby.so as this was the only shared object created. (I hate when reality differs from documentation - it normally means that I have missed something). I then executed:

$ sudo apache2ctl start

which reported

Syntax error on line 7 of /etc/apache2/httpd.conf:
Cannot load /usr/local/lib/liberuby.so into server: /usr/local/lib/liberuby.so: undefined symbol: ruby_debug

Where have I gone wrong?

-- 
mike kenny
Linux Registered User #381724
LPI ID# 80080

"Hell, there are no rules here, we're just trying to accomplish something"
                                                       Thomas Edison