Menu

Error under Solaris 8

Help
2001-09-24
2012-09-19
  • Michael D. Risser

    I have built and sucessfully installed MySQLdb under Red Hat 7.1, but under Solaris 8 i get the following error when trying to run a simple script using MySQLdb:

    Traceback (innermost last):
      File "wreq-mysql.py", line 2, in ?
        import MySQLdb
      File "/usr/local/lib/python1.5/site-packages/MySQLdb/__init__.py", line 27, in ?
        import _mysql
    ImportError: ld.so.1: python: fatal: relocation error: file /usr/local/lib/python1.5/site-packages/_mysql.so: symbol PyTuple_New: referenced symbol not found

    this only happens under Solaris 8, under Red hat 7.1 the exact same script works just fine.

    Please help.........

     
    • Michael D. Risser

      OK Maybe a little more info will help here :

      OS #1: Red Hat Linux 7.1
      OS #2: Solaris 5.8

      The following is the same on both OSs yet only Solaris 8 has the problem.

      Python Version: 2.1.1
      MySQLdb version: 0.9.1c2

      Please help, I really need to get this working.

       

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.