Menu

segmentation fault on slackware 9

Help
2003-07-29
2012-09-19
  • Ludovico Magnocavallo

    I just installed MySQLdb 0.9.2 from source on a slackware 9 box, and it segfaults as soon as I perform a query using cursor.execute().

    The box is running

    mysql  Ver 12.18 Distrib 4.0.12, for pc-linux (i686)

    Python 2.2.3 (#1, Jul 23 2003, 19:35:07)
    [GCC 3.2.2] on linux2

    The strange thing is, Mysql is working perfectly alone or from php, and I already installed MySQLdb on a similar box at work (slack 9, etc) with no problems.

    anything I can do to troubleshoot this?

     
    • Ludovico Magnocavallo

      recompiled mysql from source instead of using .rpm files and all is well now (apart from MySQLdb looking for mysql.sock in the wrong place)

       
    • Anonymous

      Anonymous - 2003-10-19

      I am also running slackware 9 and was bedazzled with this segmentation fault.  I had just installed mysql from source so that wasn't the problem, so I installed python 2.3.2 instead of the default 2.2.2, but that didn't help.  Finally I installed mysql-python 0.9.1 instead of 0.9.2 since I read something about it working better.  This and copying the mysql libraries solved the problem.  Also made a link to mysql.sock so I didn't have to use unix_socket.

       

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.