I was trying to setup a Django development environment on my MacBook Pro running OS X Lion and I ran into an issue with MySQL-Python. The module couldn’t be imported and gave me an “image not found” error.
After digging around a while on Google I came across this article, which gives a very simple solution. Add the following to your /etc/bashrc:
export DYLD_LIBRARY_PATH=/usr/local/mysql/lib/
Works like a charm and got me moving along my way to developing. Good stuff.