Gem MySql 2.7 Symbol not found: _mysql_init
Dalla versione 2.2 di Rails la libreria di ruby di MySql inclusa in rails non verrà più supportata.
DEPRECATION WARNING: You're using the Ruby-based MySQL library that ships with Rails. This library will be REMOVED FROM RAILS 2.2. Please switch to the offical mysql gem: `gem install mysql`
Per coloro che hanno installato mysql tramite port eseguire:
sudo gem install mysql -- --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config >> Account.all
dyld: lazy symbol binding failed: Symbol not found: _mysql_init
Referenced from: /Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/mysql.bundle
Expected in: dynamic lookup
dyld: Symbol not found: _mysql_init
Referenced from: /Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/mysql.bundle
Expected in: dynamic lookup /Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/mysql.bundle
/Library/Ruby/Gems/1.8/gems/mysql-2.7/mysql.bundle rm -rf /Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/mysql.bundle Categories
- Altro (17)
- Comunicati Stampa (2)
- Fedora (1)
- Linux (17)
- Mac (45)
- Ruby (20)
- Ruby on Rails (39)
- Tutorials (20)
- Windows (13)
Archivi
- October 2008 (1)
- June 2008 (1)
- May 2008 (5)
- April 2008 (2)
- March 2008 (1)
- January 2008 (3)
- December 2007 (5)
- November 2007 (5)
- October 2007 (9)
- September 2007 (1)