wesabe / mesabe

The private version of Wesabe you can run on your own computer. See the wiki for install instructions.
http://github.com/wesabe/mesabe/wikis
106 stars 14 forks source link

MacOSX: dyld: lazy symbol binding failed: Symbol not found: _mysql_init #15

Open ydbondt opened 14 years ago

ydbondt commented 14 years ago

Hi,

I'm trying to install wesabe and got the strange Mysql::Error first. After reinstalling the mysql gem (sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config) I'm getting another error at rake db:setup

maci:pfc ydbondt$ rake db:setup (in /Users/ydbondt/Software/wesabe/pfc) DEPRECATION WARNING: Calling a method in Rails::Application is deprecated, please call it directly in your application constant Pfc::Application. (called from method_missing at /Library/Ruby/Gems/1.8/gems/railties-3.0.0.rc/lib/rails/application.rb:77) dyld: lazy symbol binding failed: Symbol not found: _mysql_init Referenced from: /Library/Ruby/Gems/1.8/gems/mysql-2.8.1/lib/mysql_api.bundle Expected in: flat namespace

dyld: Symbol not found: _mysql_init Referenced from: /Library/Ruby/Gems/1.8/gems/mysql-2.8.1/lib/mysql_api.bundle Expected in: flat namespace

Trace/BPT trap

I have no idea what is wrong. I'm using mysql version: mysql-5.1.50-osx10.6-x86 Do you guys have any idea what's wrong here ?