setup_posix.py patching for RPATH inclusion

A link published by James Bennett on October 13, 2007. Tagged with joyent, mysqldb, patch, python and solaris. No comments posted.

If you’re manually installing MySQLdb on Solaris (e.g., on Joyent’s shared hosting or Accelerators), you’ll need this patch.

I’ve prepared a clean version with corrected indentation because the original patch posted to Sourceforge got screwed up. To apply, download MySQLdb and unpack it, then:

cd MySQL-python-1.2.2
wget http://media.b-list.org/files/setup_posix.diff
patch -p0 < setup_posix.diff
python setup.py build
python setup.py install

And you’ll be good to go.

Visit site

Comments for this link are closed. If you'd like to share your thoughts on this link with me, please contact me directly.

ponybadge