[Rails] Re: Error after upgrading mysql2 gem -> 0.2.7

2011-04-07 Thread Sanin Oblaster
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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



[Rails] Error after upgrading mysql2 gem -> 0.2.7

2011-04-06 Thread Sanin Oblaster
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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.