# Mysql.bundle problem

**URL:** <https://www.ruby-forum.com/t/mysql-bundle-problem/160082>\
**Category:** Ruby\
**Created:** [February 11, 2009, 4:54pm UTC](https://www.ruby-forum.com/t/mysql-bundle-problem/160082 "2009-02-11T16:54:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [February 11, 2009, 4:54pm UTC](https://www.ruby-forum.com/t/mysql-bundle-problem/160082/1 "2009-02-11T16:54:18Z")

</div>

I’m not sure what is going on, but anytime I try to use the mysql class  
I get this error:

/opt/local/lib/ruby/site\_ruby/1.8/powerpc-darwin8/mysql.bundle:  
dlopen(/opt/local/lib/ruby/site\_ruby/1.8/powerpc-darwin8/mysql.bundle,  
9): Library not loaded: /usr/local/mysql/lib/libmysqlclient.15.dylib  
(LoadError)  
Referenced from:  
/opt/local/lib/ruby/site\_ruby/1.8/powerpc-darwin8/mysql.bundle  
Reason: image not found -  
/opt/local/lib/ruby/site\_ruby/1.8/powerpc-darwin8/mysql.bundle  
from checkdb.rb:1

I’m using Mac OSX Leopard and the mysql-2.7 gem. Any Ideas?
