From where are you grabbing the do_mysql gem?
First it looks like there's a older rbmysql.c file lying in your
checkout that is compiled too and get included also with do_mysql.c:
gcc ... do_mysql.o do_mysql_ext.o rbmysql.o
also, in ld: duplicate symbol _ruby_type_from_mysql_type in rbmysql.o
and do_mysql.o
You can try update your checkout first and try again. rbmysql.c no
longer exist in master.
HTH,
--
Luis Lavena
Multimedia systems
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams
(I renamed the .c-file do_mysql_ext.c yesterday to conform to the name
of the bundle-file, which had to change for me to be able to add an
init-file and more classes to the gem.)
//Martin
Good to know, but there is also an even older file: rbmysql.o :-P
So the only files that should be inside ext are:
.gitignore
extconf.rb
do_mysql_ext.c
are you sure is the same error? can you paste again what are you
getting now from the output?
Even better, can you try "rake compile" inside do_mysql and paste the
output here?
Thank you,
That means there are left-overs in your
/Library/Ruby/Gems/1.8/gems/do_mysql-0.9.0, even if you removed it
with gem uninstall do_mysql, there are still there (rubygems cannot
uninstall gems that don't have gemspec files under specifications,
which is the case).
Please, try rm -rf /Library/Ruby/Gems/1.8/gems/do_mysql-0.9.0 before
any other attempt
there is no rake aborted or something like that after this? then that
means the compilation process is ok and there is some garbage in your
installation, like I pointed before.