InformixDB-2.5 relocation Error

This is the place for queries that don't fit in any of the other categories.

InformixDB-2.5 relocation Error

Postby Tbyte » Tue Feb 04, 2014 2:10 pm

Hello,
for my problem I haven’t found a solution or similar problem, so I´m asking you in hope to a Solution or any kind of idea on how to fix this.
I know this is not a Python specific problem, but since InformixDB is an Python module someone might had a similiar problem.
I am running Python-2.5.6 and InformixDB-2.5 on Solaris 10 SPARC
When I run a Script I get the following Error:
Code: Select all
import informixdb

        File "/usr/local/lib/python2.5/site-packages/informixdb.py", line 146, in <module>
        from _informixdb import *
        ImportError: ld.so.1: python2.5: fatal: relocation error: file /usr/local/lib/python2.5/site-packages/_informixdb.so: symbol SQLSTATE: referenced symbol not found


Then I ran ldd –d and found more of those:
Code: Select all
ldd -d /usr/local/lib/python2.5/site-packages/_informixdb.so gave me the following output:
        libnsl.so.1 =>   /lib/libnsl.so.1
       libsocket.so.1 =>        /lib/libsocket.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libm.so.2 =>     /lib/libm.so.2
        libgcc_s.so.1 =>         /usr/sfw/lib/libgcc_s.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libc.so.1 =>     /lib/libc.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        symbol not found: SQLSTATE                   (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: PyExc_StandardError        (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: sqlca                      (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: _Py_ZeroStruct            (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: SQLCODE                    (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: PyType_GenericNew          (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: PyType_GenericAlloc        (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: PyExc_ImportError          (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: PyList_Type                (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: PyBuffer_Type              (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: _Py_NoneStruct             (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: PyExc_StopIteration        (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: PyType_Type                (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: _Py_TrueStruct             (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: PyExc_TypeError            (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: PyObject_Free              (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        symbol not found: PyBool_Type                (/usr/local/lib/python2.5/site-packages/_informixdb.so)
        /platform/SUNW,Sun-Fire-T1000/lib/libmd_psr.so.1
        /platform/SUNW,Sun-Fire-T1000/lib/libc_psr.so.1


I desperately hope you have any idea of how to fix this.
Last edited by stranac on Tue Feb 04, 2014 2:34 pm, edited 1 time in total.
Reason: First post lock.
Tbyte
 
Posts: 1
Joined: Tue Feb 04, 2014 2:05 pm

Return to General Coding Help

Who is online

Users browsing this forum: rjnicholson and 3 guests