Sorry for the self reply, but I found a bit more information.
I had successfully built mod_ruby against my own hand-compiled=20
ruby-1.8.1 (installed to /usr/local) before, so I re-did that hand=20
install and tried the build of mod_ruby again. The difference is this:=20=
when building against the hand-compiled ruby, configure.rb puts the=20
following line in the Makefile:
LDSHARED =3D cc -dynamic -bundle -undefined suppress -flat_namespace
When compiling against the fink-installed ruby, this line becomes:
LDSHARED =3D cc -dynamic -bundle
I changed this to the first version to build against the fink-installed=20=
version, and it compiled fine. So why is the configure script changing=20=
this depending on how ruby is installed?
Pacem in terris / Mir / Shanti / Salaam / Heiwa
Kevin R. Bullock
On Sep 29, 2004, at 1:40 AM, Kevin Bullock wrote:
> Hey all=97
>
> I did a clean fresh install of fink on my machine, including=20
> installing ruby-1.8.1 through fink (I had previously installed it into=20=
> /usr/local). I'm now trying to recompile mod_ruby against the fresh=20
> install, and it's failing on the final link:
>
> cc -dynamic -bundle -L/sw/lib -o mod_ruby.so mod_ruby.o ruby_config.o=20=
> apachelib.o array_header.o table.o connection.o server.o request.o=20
> upload.o cookie.o paramtable.o multival.o apache_request.o=20
> apache_multipart_buffer.o apache_cookie.o \
> -lruby -ldl -lobjc
> ld: Undefined symbols:
> _ap_add_cgi_vars
> _ap_add_common_vars
> _ap_add_version_component
> _ap_kill_timeout
> ...etc.
>
> I get a couple pages of undefined symbols. Any ideas on this?
>
> Also, I tried searching the list archives for a solution, but the=20
> search engine seems to be down. I get a 403 trying to access=20
> http://lists.modruby.net/ml/search/modruby/.
>
> Pacem in terris / Mir / Shanti / Salaam / Heiwa
> Kevin R. Bullock
>