Mysql-ruby on OS 10.2 - possible?

I’m having a bit of trouble with posting to the list. I hope this is
not a duplicate.

At 27016 there is the following message:

···

Subject: [ruby-talk:27016] OSX 10.1.1
From: bobh@hslda.org (Robert)
Date: Fri, 30 Nov 2001 12:36:00 +0900

How do I get Ruby 1.6.5 to install from source?

I keep getting:


ld: -undefined error must be used when -twolevel_namespace is in effect
/usr/bin/libtool: internal link edit command failed
make: *** [libruby.1.6.5.dylib] Error 1


I did put a “-flat_namespace” switch into the “configure” file but nada.

I have installed ruby and mysql, but I am now getting a similar “ld:
-undefined error” message when I try to configure and make mysql-ruby.
here is the situation:

I am a linguistic anthropologist with an interest in using ruby and
mysql to create an online Tagalog dictionary. I am using mysql-3.23.53
and ruby-1.6.7 on a Mac G4 with OS 10.2 (Jaguar). I installed mysql and
ran the MySQL Ruby Module “config.rb”. I then ran “make”:

[PALMERS:~/local/src/mysql-ruby-2.4.2a] gary% make
cc -dynamic -bundle -undefined suppress -L/usr/local/mysql/lib
-L/usr/local/lib/ruby/1.6/powerpc-darwin1.3.7 -L/usr/local/lib -o
mysql.bundle mysql.o -lmysqlclient
ld: -undefined error must be used when -twolevel_namespace is in effect
make: *** [mysql.bundle] Error 1

Anyone know how to deal with this, or how to proceed from here?