Hi I can''t boot up my project after updating mysql to 5.5.10 and mysql2 gem to 0.2.7 MacBook-Pro:shops cheeba$ rails sdyld: lazy symbol binding failed: Symbol not found: _mysql_get_client_info Referenced from: /Library/Ruby/Gems/1.8/gems/mysql2-0.2.7/lib/mysql2/mysql2.bundle Expected in: flat namespace dyld: Symbol not found: _mysql_get_client_info Referenced from: /Library/Ruby/Gems/1.8/gems/mysql2-0.2.7/lib/mysql2/mysql2.bundle Expected in: flat namespace Trace/BPT trap Search for _mysql_get_client_info gave nothing. I''ve tried both 32 and 64 bit mysql installation. Any comments please? I''m stuck ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] Rails 3.0.1 -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Apr 6, 2011, at 5:38 AM, Sanin Oblaster wrote:> Hi > > I can''t boot up my project after updating mysql to 5.5.10 and mysql2 > gem to 0.2.7 > > MacBook-Pro:shops cheeba$ rails sdyld: lazy symbol binding failed: > Symbol not found: _mysql_get_client_info > Referenced from: > /Library/Ruby/Gems/1.8/gems/mysql2-0.2.7/lib/mysql2/mysql2.bundle > Expected in: flat namespace > > dyld: Symbol not found: _mysql_get_client_info > Referenced from: > /Library/Ruby/Gems/1.8/gems/mysql2-0.2.7/lib/mysql2/mysql2.bundle > Expected in: flat namespace > > Trace/BPT trap > > Search for _mysql_get_client_info gave nothing. I''ve tried both 32 and > 64 bit mysql installation. Any comments please? I''m stuck > > ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] > Rails 3.0.1When you updated, did you install from source? This sort of Symbol not found nonsense sounds like the gem didn''t reference the correct source tree when it built the native components. Walter -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Walter Davis wrote in post #991242:> When you updated, did you install from source?Thanks for answer, problem is solved updated mysql again from installer mysql-5.5.10-osx10.6-x86_64.dmg then mysql2 gem: $ sudo gem install mysql2 -- --with-mysql-config=/usr/local/mysql-5.5.10-osx10.6-x86_64/bin/mysql_config and this time it worked, problem was in 32-bit MySQL installation -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.