harsha_kusam 0 Newbie Poster

Hi All,

We have beenn migrated from 9i to 10g

and one of our python script is still pointing out to 9i libraries

import cx_Oracle

when it's trying to import this library my script is failing

ImportError: ld.so.1: python: fatal: libclntsh.so.9.0: open failed: No such file or directory


Could some one pls help me out how to resolve this

Our neww library path is set to correct one

echo $LD_LIBRARY_PATH
/data/lgcmsp1/apps/dbus_3_0_8_14/vitria.3.1/SPARC_5.8/6.0/lib:/data/lgcmsp1/apps/dbus_3_0_8_14/SPARC_5.8/6.0/lib::/data


And same i sent to DBA's They came back and asking as below....
------------------------------------------------------
Harsha

Your python script is clearly looking for the old 9i software.

How do you tell Python which Oracle Home to use?

--------------------------------------------------------

Could someone pls help me plss....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.