954,541 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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

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....

harsha_kusam
Newbie Poster
8 posts since Apr 2009
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You