IBM Support

Error while loading shared libraries: libifsql.so: wrong ELF class: ELFCLASS64

Troubleshooting


Problem

This document shows how to fix the problem when encountering this error message.

Symptom

If you install any Informix 32-bit Tools and Informix Dynamic Server (64-bit) in the same INFORMIXDIR and attempt to run it, you will get the following errors:

    $r4gl
    r4gl: error while loading shared libraries: libifsql.so: wrong ELF class: ELFCLASS64

    $i4gl
    i4gl: error while loading shared libraries: libifsql.so: wrong ELF class: ELFCLASS64

    $isql
    isql: error while loading shared libraries: libifsql.so: wrong ELF class: ELFCLASS64

[{"Product":{"code":"SSVT2J","label":"Informix Tools"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Informix 4GL","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF025","label":"Platform Independent"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"7.3","Edition":"Rapid Development System;Compiler;Interactive Debugger;Developer","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
20 January 2022

UID

swg21290956