So now it's OpenSoracle or whatever !
Anyway upto:
SunOS workdellgx620 5.11 snv_133 i86pc i386 i86pc Solaris
Looking at having another play with Rails but using Postgres.
Installing Postgres 8.4 with
pfexec pkg install service/database/postgres-84
Seeing what's there!
paulj@workdellgx620:~$ pfexec svcs -a | grep post
disabled 9:20:46 svc:/application/database/postgresql_84:default_64bit
disabled 9:20:46 svc:/application/database/postgresql_84:default_32bit
online Feb_26 svc:/system/postrun:default
Lets try and enable one of them :-)
paulj@workdellgx620:~$ pfexec svcadm enable /application/database/postgresql_84:default_64bit
See what's up?
paulj@workdellgx620:~$ pfexec svcs -a | grep post
disabled 9:20:46 svc:/application/database/postgresql_84:default_32bit
online Feb_26 svc:/system/postrun:default
offline* 9:42:15 svc:/application/database/postgresql_84:default_64bit
Oh wonder what the * means.
Monday, 8 March 2010
Friday, 24 April 2009
What happened to Python MySQL?
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
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
Subscribe to:
Posts (Atom)