Problem accessing Oracle 9i stage in DS7.5

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
vijay.subramani
Participant
Posts: 4
Joined: Thu Aug 26, 2004 6:58 am

Problem accessing Oracle 9i stage in DS7.5

Post by vijay.subramani »

We had installed DS 7x , Oracle 9i client in the solaris box. While trying to use Oracle OCI stage, it gives the following error: ds_loadlibrary: error in dlopen of oraoci9.so - ld.so.1: dsapi_slave: fatal: /opt/udb/u01/oracle/product/9.2.0/lib/libclntsh.so: wrong ELF class: ELFCLASS64 . ODBC stage using Oracle works fine. Any input would be greatly appreciated.

Thanks.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Have you configured the dsenv file?
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
tonystark622
Premium Member
Premium Member
Posts: 483
Joined: Thu Jun 12, 2003 4:47 pm
Location: St. Louis, Missouri USA

Post by tonystark622 »

In earlier versions of DataStage the Oracle lib32 directory had to be in the path before the lib directory. I don't know if this is an issue with 7.5 or not.

Tony
tonystark622
Premium Member
Premium Member
Posts: 483
Joined: Thu Jun 12, 2003 4:47 pm
Location: St. Louis, Missouri USA

Post by tonystark622 »

In earlier versions of DataStage the Oracle lib32 directory had to be in the path before the lib directory. I don't know if this is an issue with 7.5 or not.

Tony
vijay.subramani
Participant
Posts: 4
Joined: Thu Aug 26, 2004 6:58 am

Post by vijay.subramani »

kcbland wrote:Have you configured the dsenv file?
We have configured the dsenv file for Oracle.
vijay.subramani
Participant
Posts: 4
Joined: Thu Aug 26, 2004 6:58 am

Post by vijay.subramani »

Thank Tony, let me check that out.
Eric
Participant
Posts: 254
Joined: Mon Sep 29, 2003 4:35 am

Post by Eric »

I have seen this, the oracle 'ELF' error is due to loading the 64bit oracle libraries. DataStage must use the oracle 32 bit libraries.

tonystark622 has the right answer.
vijay.subramani
Participant
Posts: 4
Joined: Thu Aug 26, 2004 6:58 am

Post by vijay.subramani »

Eric wrote:I have seen this, the oracle 'ELF' error is due to loading the 64bit oracle libraries. DataStage must use the oracle 32 bit libraries.

tonystark622 has the right answer.
Thanks Eric. That's right, 64-bit was causing the problem. Its now working fine with 32-bit. Thanks all for your help.
Post Reply