after many trys, i managed to get the setup.py to run.. Why it makes so many wrong assumptions about my directories was irritating. It appears to have built the files but I get this when I import MySQLdb
ImportErrorr: ld.so.1: python: fatal: mysqlclient.so.10: open failed: no such file or directory
the setup also appears to build another complete directory for python1.5. about to give up. After I managed to get mySQL running , i thought this would be a snap........ wrong
PLease help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry Andy, didn't mean to offend you, I have spent days trying to get this to work. just frustrated
I am running Solaris 2.8 on Intel, i am using and I mySQL-python-0.9 and Python 1.5.2 (i tried Python 2.1 too)
MySQL is n /usr/local/src/mysql. I had changed the libraries in the setup to /usr/local/src/mysql/lib
mysql 3.23.40
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
after many trys, i managed to get the setup.py to run.. Why it makes so many wrong assumptions about my directories was irritating. It appears to have built the files but I get this when I import MySQLdb
ImportErrorr: ld.so.1: python: fatal: mysqlclient.so.10: open failed: no such file or directory
the setup also appears to build another complete directory for python1.5. about to give up. After I managed to get mySQL running , i thought this would be a snap........ wrong
PLease help
http://dustman.net/andy/python/MySQLdb/faq/MySQLdb-FAQ-1.html#ss1.1
Maybe if you'd share WHAT OS YOU ARE USING
and WHERE MySQL IS INSTALLED I could find out why it makes so many "wrong assumptions".
Sorry Andy, didn't mean to offend you, I have spent days trying to get this to work. just frustrated
I am running Solaris 2.8 on Intel, i am using and I mySQL-python-0.9 and Python 1.5.2 (i tried Python 2.1 too)
MySQL is n /usr/local/src/mysql. I had changed the libraries in the setup to /usr/local/src/mysql/lib
mysql 3.23.40
thanks
You need to have the path to your MySQL libraries in your LD_LIBRARY_PATH, try this:
export LD_LIBRARY_PATH=/path/to/mysql/lib:$LD_LIBRARY_PATH
the above is for bash, not sure how to set it in other shells. It can also be added to your ~/.bash_profile so that it is always available