Results 1 to 2 of 2

Thread: Wrong Elf Class

  1. #1
    Join Date
    Nov 2003
    Posts
    3

    Wrong Elf Class

    Hi

    We have questions about Forte C++ Compiler (Forte Dev 6 update 2).
    We have installed this compiler in the development server and
    compiled source codes to generate a binary file. The binary file runs
    normally in the development server.

    However when we try to run it in Production server the following error
    occurred.

    ---------------------8<-----------------------------
    bash-2.03$ gen_ascii PIPE2
    ld.so.1: gen_ascii: fatal: /opt/oracle/product/9.2.0/lib/libclntsh.so.9.0:
    wrong ELF class: ELFCLA
    SS64
    Killed
    bash-2.03$
    --------------------->8---------------------------

    >From the make file, we noticed that the following libraries are being
    required:
    /opt/oracle/product/9.2.0.1.0/lib32/libclntsh.so
    /opt/oracle/product/9.2.0.1.0/lib32/libocci.so

    Please let us know, how to solved the error.

    Thanks for your help.

    Subu R. Iyer
    anusriram@hotmail.com

  2. #2
    Join Date
    Mar 2004
    Posts
    1

    wrong linked directory...

    Subu,

    We had this same problem for a different compiler (gcc):

    Apparently, the ld.so.1 is the dynamic linker...

    change the env variable LD_LIBRARY_PATH to include
    $ORACLE_HOME/lib32 instead of $ORACLE_HOME/lib.



    thanks and regards,

    myrrh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •