# Mysql-5.0.41 and mysql native gem

**URL:** <https://www.ruby-forum.com/t/mysql-5-0-41-and-mysql-native-gem/107105>\
**Category:** Rails\
**Created:** [June 18, 2007, 7:15am UTC](https://www.ruby-forum.com/t/mysql-5-0-41-and-mysql-native-gem/107105 "2007-06-18T07:15:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rlwinter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecccb3/32.png) [@rlwinter](https://www.ruby-forum.com/u/rlwinter)\
**Post date:** [June 18, 2007, 7:15am UTC](https://www.ruby-forum.com/t/mysql-5-0-41-and-mysql-native-gem/107105/1 "2007-06-18T07:15:00Z")

</div>

Has anyone else had problems with the mysql native gem when using  
MySQL 5.0.41. It appears that this version of MySQL has moved some  
depended library files. I rolled back to MySQL 5.0.37 and all seems  
to be working now. But, just wanted to know if anyone else has  
experienced this issue.

---

<div class="post-metadata">

**Author:** ![rlwinter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecccb3/32.png) [@rlwinter](https://www.ruby-forum.com/u/rlwinter)\
**Post date:** [June 18, 2007, 8:05am UTC](https://www.ruby-forum.com/t/mysql-5-0-41-and-mysql-native-gem/107105/2 "2007-06-18T08:05:29Z")

</div>

Hi Robert,

> Has anyone else had problems with the mysql native gem when using  
> MySQL 5.0.41. It appears that this version of MySQL has moved some  
> depended library files. I rolled back to MySQL 5.0.37 and all seems  
> to be working now. But, just wanted to know if anyone else has  
> experienced this issue.

As the maintainer of the Windows native driver at  
[http://www.vandomburg.net](http://www.vandomburg.net), I’ve heard similar reports. I haven’t gotten  
to compiling a newer version yet but will do so in the coming week.

–  
Roderick van Domburg  
Nedforce [http://www.nedforce.nl](http://www.nedforce.nl)

---

<div class="post-metadata">

**Author:** ![rlwinter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecccb3/32.png) [@rlwinter](https://www.ruby-forum.com/u/rlwinter)\
**Post date:** [June 20, 2007, 9:04am UTC](https://www.ruby-forum.com/t/mysql-5-0-41-and-mysql-native-gem/107105/3 "2007-06-20T09:04:41Z")

</div>

I’m seeing an extra, non-existent, directory called for in the path  
to this library:  
libmysqlclient.15.dylib

The error was encountered while doing a script/generate:

dyld: NSLinkModule() error  
dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.  
15.dylib  
Referenced from: /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib/  
mysql.bundle  
Reason: image not found  
Trace/BPT trap

The actual location of the library is:

/usr/local/mysql/lib/libmysqlclient.15.dylib

It would be a little unnecessary to have …/mysql/lib/mysql/… I  
would think.

For now I’m going to try a symlink…

Jim
