Hi,
In message "[ruby-talk:02770]"
on 00/05/11, Andrew Hunt <Andy / Toolshed.Com> writes:
|I'm trying to install mod_ruby 0.17 with the latest Ruby from CVS,
|and I'm running into a spot of trouble.
|
|Using the Makefile produced by Makefile.rb, the module fails to load --
|it complains that:
|
|Cannot load /toolshed/local/libexec/mod_ruby.so into server:
|/toolshed/local/libexec/mod_ruby.so: undefined symbol: rb_io_close
|/toolshed/local/bin/apachectl start: httpd could not be started
|
|And indeed, there's nothing in the Makefile that indicates Ruby should
|be linked in. So I thought I'd be daring and add libruby.a into the
|shared obejct link.
Hmm, Makefile.RB should find the place for libruby.a or libruby.so
from compilation information, which is placed in rbconfig.rb.
My Makefile contains the line:
LIBRUBYARG = -L/usr/lib -lruby
to link the interpreter.
matz.