Hi Nathan,
This is a problem with the mysql library and GCC 4.0 - you need to do this:
sudo gcc_select 3.3
sudo gem install mysql -- --with-mysql-config
sudo gcc_select 4.0
Hopefully that should fix it.  I believe there is now a 2.7 release of
the library that fixes the problem as well, but to my knowledge
there''s no gem for it yet:
http://tmtm.org/downloads/mysql/ruby/
>From there you can download and install from source the old-fashioned (heh)
way.
Cheers,
-DF
On 10/12/05, Nathan Mealey
<nathan-mPKOtHdLgT0QaXB9iyTzyw@public.gmane.org>
wrote:> I installed Rails on OS X 10.4 from the directions on the Rails wiki
> (http://wiki.rubyonrails.com/rails/pages/HowtoInstallOnOSXTiger) and
> then installed the MySQL gem, and am now getting a terrible error
> when I run the script/generate command:
>
> dyld: NSLinkModule() error
> dyld: Symbol not found: _sprintf$LDBLStub
>    Referenced from: /usr/lib/ruby/gems/1.8/gems/mysql-2.6/lib/
> mysql.bundle
>    Expected in: flat namespace
> Trace/BPT trap
>
> I am stuck. I don''t know if I should uninstall Rails (or how to do
> so), and reinstall, and from what. And have no idea what this error
> means or what caused it.
>
> Can anyone shed some light and provide some direction?
>
> Thanks
> --
> Nathan Mealey
> Webmaster & Administrative Coordinator
> Cycle-Smart, Inc.
> P.O. Box 1482
> Northampton, MA
> 01061-1482
> nathan-mPKOtHdLgT0QaXB9iyTzyw@public.gmane.org
>
>
>
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>