# Rails Issue

**URL:** <https://www.ruby-forum.com/t/rails-issue/125128>\
**Category:** Rails\
**Created:** [January 5, 2008, 9:58pm UTC](https://www.ruby-forum.com/t/rails-issue/125128 "2008-01-05T21:58:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![blake](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a9a28c/32.png) [@blake](https://www.ruby-forum.com/u/blake)\
**Post date:** [January 5, 2008, 9:58pm UTC](https://www.ruby-forum.com/t/rails-issue/125128/1 "2008-01-05T21:58:21Z")

</div>

When doing db:migrate I got this error  
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

Any help on fixing it?

Thanks  
Blake

---

<div class="post-metadata">

**Author:** ![blake](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a9a28c/32.png) [@blake](https://www.ruby-forum.com/u/blake)\
**Post date:** [January 5, 2008, 10:55pm UTC](https://www.ruby-forum.com/t/rails-issue/125128/2 "2008-01-05T22:55:48Z")

</div>

> When doing db:migrate I got this error  
> 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

I’ve not seen this particular problem but if people don’t respond  
please don’t take it as a slight. Just try resubmitting with a more  
descriptive subject line. Most people scan the list for things that  
they know specifically. Something like “rake migrate NSLinkModule  
error” or something would help the right people find you. 🙂

Also, if you aren’t using the mysql gem that might be the issue. Just  
a guess though.

Hope you find your solution quickly!  
Chuck V.  
[www.chuckvose.com](http://www.chuckvose.com)

---

<div class="post-metadata">

**Author:** ![blake](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a9a28c/32.png) [@blake](https://www.ruby-forum.com/u/blake)\
**Post date:** [January 5, 2008, 10:58pm UTC](https://www.ruby-forum.com/t/rails-issue/125128/3 "2008-01-05T22:58:08Z")

</div>

> Any help on fixing it?

first hit when searching for “rails dyld: NSLinkModule() error” on  
google: [http://www.railsforum.com/viewtopic.php?pid=23870](http://www.railsforum.com/viewtopic.php?pid=23870)

---

<div class="post-metadata">

**Author:** ![blake](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a9a28c/32.png) [@blake](https://www.ruby-forum.com/u/blake)\
**Post date:** [January 8, 2008, 2:04am UTC](https://www.ruby-forum.com/t/rails-issue/125128/4 "2008-01-08T02:04:46Z")

</div>

On Jan 5, 4:55 pm, “Chuck V.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> descriptive subject line. Most people scan the list for things that  
> they know specifically. Something like “rake migrate NSLinkModule  
> error” or something would help the right people find you. 🙂
> 
> Also, if you aren’t using the mysql gem that might be the issue. Just  
> a guess though.
> 
> Hope you find your solution quickly!  
> Chuck [V.www.chuckvose.com](http://V.www.chuckvose.com)

I think I’m going to go ahead and reinstall MYSQL and see if that  
fixes it.

Thanks  
Blake
