# Image not found -- rake db:migrate

**URL:** <https://www.ruby-forum.com/t/image-not-found-rake-db-migrate/108296>\
**Category:** Rails\
**Created:** [July 1, 2007, 11:24pm UTC](https://www.ruby-forum.com/t/image-not-found-rake-db-migrate/108296 "2007-07-01T23:24:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![the\_dude](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b19c9b/32.png) [@the\_dude](https://www.ruby-forum.com/u/the_dude)\
**Post date:** [July 1, 2007, 11:24pm UTC](https://www.ruby-forum.com/t/image-not-found-rake-db-migrate/108296/1 "2007-07-01T23:24:19Z")

</div>

Hi.

I’m learning from the book ‘beginning ruby on rails e-commerce’, and i  
just got to the point of running my first migration.

When I run rake db:migrate (as it says in the book), I see this:

* * *

(in /Users/me/dev/myapps/emporium/emporium)  
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

* * *

PS: emporium is the name of the example app.

What can I do to solve this seemingly simple error?  
I’m not familiar enough with mysql or ruby to dig around without  
breaking something.

thanks in anticipation.

the dude
