Playing with OpenSolaris
Today I am attempting to upgrade from snv_111.
110 was fine but for some reason MySQLdb the python interface to MySQL stopped working, getting an error message
Import Error: ld.so.1: isapython2.4: fatal: libmysqlclient_r.so.15: open failed: No such file or directory
Bummer!
Anyway now got snv_111a (it's fun using the dev repository) and guess what?
MySQLdb not working! hey hoo!
Checking it seems there is no such file in the file system associated with MySQL 5.1, that has the version libmysqlclient_r.so.16.
Nasty hack but I copied it from 5.0 to 5.1
paulj@opensolaris:/usr/mysql$ pfexec cp ./5.0/lib/mysql/libmysqlclient_r.so.15 ./5.1/lib/mysql/libmysqlclient_r.so.15
And I can now import MySQLdb from within a python program.
Think I should look at updating python which could be fun:-)
Paul
Friday, 24 April 2009
Subscribe to:
Posts (Atom)