# Mysql.bundle problem

**URL:** <https://rubytalk.org/t/mysql-bundle-problem/51682>\
**Category:** ruby-talk\
**Created:** [11 February 2009 15:53 UTC](https://rubytalk.org/t/mysql-bundle-problem/51682 "2009-02-11T15:53:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Silbernagel](https://avatars.discourse-cdn.com/v4/letter/m/a9adbd/32.png) [@Matt\_Silbernagel](https://rubytalk.org/u/Matt_Silbernagel)\
**Post date:** [11 February 2009 15:53 UTC](https://rubytalk.org/t/mysql-bundle-problem/51682/1 "2009-02-11T15:53:09Z")

</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)  
&nbsp;&nbsp;Referenced from:  
/opt/local/lib/ruby/site\_ruby/1.8/powerpc-darwin8/mysql.bundle  
&nbsp;&nbsp;Reason: image not found -  
/opt/local/lib/ruby/site\_ruby/1.8/powerpc-darwin8/mysql.bundle  
&nbsp;&nbsp;from checkdb.rb:1

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

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
