From: Chris Gehlker Date: 2002-06-20T01:09:59+09:00 Subject: Re: eRuby on Mac OS X On 6/18/02 11:03 PM, "Sean Chittenden" wrote: > [moving to modruby list] > >> I've searched ruby-talk for this topic, and the only messages I >> found show the same symptoms I'm seeing: mod_ruby and eRuby compile >> fine, mod_ruby runs (within Apache), but eRuby doesn't. eRuby runs >> fine on the command line, though. >> >> I have a few more clues that may let someone figure out what may be >> wrong. When the line >> >> RubyRequire apache/eruby-run >> >> is executed from httpd.conf, these error messages are written to the >> file /var/log/httpd/error_log: > > Interesting... what version of mod_ruby/eRuby are you using? It > looks as though eRuby isn't linking against ruby.so or libruby.(so|a). > I don't have a copy of OS X around, but I think Shugo does. This > sound plausible? -sc If it's supposed to link dynamically, it needs to be against libruby.dylib. I hope that helps because I don't have time to pursue it right now. Why Darwin wants to call things 'dylib' when every other *nix calls them 'so's is a mystery to me. The snipped error message is coming from the dynamic linker, dyld, though, and that's what it wants. -- I have suffered from being misunderstood, but I would have suffered a hell of a lot more if I had been understood. -Clarence Darrow, lawyer and author (1857-1938)