Skip to content
This repository has been archived by the owner on May 8, 2018. It is now read-only.

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

Open
ydbondt opened this issue Sep 30, 2010 · 0 comments
Open

Comments

@ydbondt
Copy link

ydbondt commented Sep 30, 2010

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 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant