On 7 Jan 2009, at 22:06, jabauer <[email protected]> wrote:
>
>> have you tried sudo gem install mysql -- --with-mysql-config=/usr/
>> local/mysql/bin/mysql_config
>> ?
>>
>> Fred
>
> Just tried that and it seemed to work until I restarted the server and
> got this error
>
> dlsym(0x2727d10, Init_mysql): symbol not found - /usr/local/lib/ruby/
> gems/1.8/gems/mysql-2.7/lib/mysql.bundle
>
> I don't know why it's looking for mysql in /usr/local/lib/ruby when I
> put it in /usr/local/mysql
>
It's not. It's saying that it couldn't find a function called
Init_mysql inside the gem. Have you checked whether that mysql.bundle
file is of the correct architecture? (which should match both your
machine and the mysql client libraries you have)
> Sorry to be so much trouble!
>
> --Jean--
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---