Help a newbie please. I have everything install according to hivelogic.com instruction but I get this... Mycomp:~/Sites/music_library Myname$ rake db:migrate (in /Users/Myname/Sites/music_library) dyld: NSLinkModule() error dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient. 15.dylib Referenced from: /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib/ mysql.bundle Reason: image not found Trace/BPT trap I have successfully installed mysql-2.7 via gem install for RoR mysql driver and configured database.yml development: adapter: mysql database: music_library_development username: root password: ########### host: localhost PLEASE HELP A NEWBIE! Much Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Help a newbie please. I have everything install according to hivelogic.com instruction but I get this... Mycomp:~/Sites/music_library Myname$ rake db:migrate (in /Users/Myname/Sites/music_library) dyld: NSLinkModule() error dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient. 15.dylib Referenced from: /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib/ mysql.bundle Reason: image not found Trace/BPT trap I have successfully installed mysql-2.7 via gem install for RoR mysql driver and configured database.yml development: adapter: mysql database: music_library_development username: root password: ########### host: localhost PLEASE HELP A NEWBIE! Much Thanks in advance. Sorry Hugh...newbie mistake. My pre-requisite are as follow... Mac OS 10.4.9 MySQL 5.0.45 rails 1.2.2 ruby 1.8.5 readline 5.1 and build in Webrick for now. NOTE: mysql-2.7 is a gem that allow rail to talk to mySQL a.k.a. MySQL native bind. Hivelogic - http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx Thanks Hugh --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I hit this problem last time I installed RoR & etc on my mac. I wrote a very short blog post about it. Maybe this will help you: http://jesseclark.com/blog/?p=5 -jc teadub wrote:> Help a newbie please. > > I have everything install according to hivelogic.com instruction but I > get this... > > Mycomp:~/Sites/music_library Myname$ rake db:migrate > (in /Users/Myname/Sites/music_library) > dyld: NSLinkModule() error > dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient. > 15.dylib > Referenced from: /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib/ > mysql.bundle > Reason: image not found > Trace/BPT trap > > I have successfully installed mysql-2.7 via gem install for RoR mysql > driver and configured database.yml > development: > adapter: mysql > database: music_library_development > username: root > password: ########### > host: localhost > > PLEASE HELP A NEWBIE! Much Thanks in advance. > > Sorry Hugh...newbie mistake. > > My pre-requisite are as follow... > > Mac OS 10.4.9 > MySQL 5.0.45 > rails 1.2.2 > ruby 1.8.5 > readline 5.1 > and build in Webrick for now. > > NOTE: mysql-2.7 is a gem that allow rail to talk to mySQL a.k.a. MySQL > native bind. > > Hivelogic - http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx > > Thanks Hugh > > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks Jesse, /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib I found creating a folder call "mysql" after ../lib/ and copy "lidmysqlclient.15.dylib" to that folder then the rake execute work. However I have a few questions for you... Do I copy and paste the following line by line in the terminal? sudo install_name_tool <= what is this? -change /usr/local/mysql/lib/ mysql/libmysqlclient.15.dylib < is this space? > /usr/local/mysql/lib/ libmysqlclient.15.dylib What is this for=?>/usr/lib/ruby/gems/1.8/gems/ mysql-2.7/mysql.bundle --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---