Menu

Install probs

Help
2001-08-17
2012-09-19
  • J Streetman

    J Streetman - 2001-08-17

    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

     
    • Andy Dustman

      Andy Dustman - 2001-08-17

      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".

       
    • J Streetman

      J Streetman - 2001-08-17

      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

       
    • Michael D. Risser

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.