Perl DBD::Oracle Module installation

后端 未结 4 505
隐瞒了意图╮
隐瞒了意图╮ 2020-11-30 02:30

Could someone guide me how to install the Perl DBD::Oracle module?

Here is what I have done so far:

  • Platform: RHEL 5.8 64 bit
  • I
4条回答
  •  伪装坚强ぢ
    2020-11-30 03:12

    A little addition to slayedbylucifer answer. I had the same problem like mentioned in the question. I've done all the steps described by slayedbylucifer. But still I got the problem like mentioned here:

    /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /opt/oracle/app/oracle/product/11.2.0/client_1/lib//libclntsh.so when searching for -lclntsh
    /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lclntsh
    

    So I created the following symbolic link:

    ln -s /opt/oracle/app/oracle/product//client_1/lib/libclntsh.so $ORACLE_HOME/libclntsh.so*
    

    After that step the error from above (cannot find -lclntsh) was fixed. The execution of the make command was without any errors.

    The only problem I still have is that I don't understand why this symbolic link is necessary.

提交回复
热议问题