Skip to content

Error importing "IfxPy" ##ImportError: libthcli.so: cannot open shared object file: No such file or directory #19

@unikill066

Description

@unikill066

I am getting an error while I try to connect to Informix DB from the Linux system, please check and suggest me appropriate fixes.

(venv) [user@server connector_testing]$ python3 informix_connector.py
Traceback (most recent call last):
  File "informix_connector.py", line 1, in <module>
    import IfxPy
ImportError: libthcli.so: cannot open shared object file: No such file or directory
(venv) [user@server connector_testing]$ cat informix_connector.py

informix_connector.py:

import IfxPy

ConStr = "SERVER=ol_informix1410;DATABASE=sysmaster;HOST=host;SERVICE=port;UID=informix;PWD=password;"
conn=IfxPy.connect(ConStr,"","")

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions