Forum: Ruby on Rails undefined symbol: rb_str_set_len

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ae4e7b5c00af6fdcc391178aa03bd06e?d=identicon&s=25 Rene Cienfuegos (rncien)
on 2008-11-24 20:18
I recently downgraded from ruby 1.8.7-p72 to 1.8.6-p287 and now whenever
i try to access the mysqldatabase my rails server (WEBrick) crashes with
the following error:

ruby: symbol lookup error:
/usr/lib/ruby/site_ruby/1.8/i686-linux/ undefined symbol:

i first thought it was some sort of linking error or something due to
the downgrade, but i just made another DB from scratch and keep getting
the same result.

Does anyone have an idea of what could be the problem or how to fix it?

81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2008-11-24 20:33
(Received via mailing list)
Probably because your mysql gem has been built against 1.8.6. I'd try
reinstalling the mysql gem.


Sent from my iPhone

On 24 Nov 2008, at 19:18, Rene Cienfuegos
Ae4e7b5c00af6fdcc391178aa03bd06e?d=identicon&s=25 Rene Cienfuegos (rncien)
on 2008-11-24 22:31
I tried that too, but didn't work.

The thing that i did right after i posted the message was to remove the in /usr/lib/ruby/site_ruby/1.8/i686-linux/  probably not the
best solution, but it worked.

thanks for the answer

This topic is locked and can not be replied to.