I've found the issue now - I'll update my question with the solution and accept this answer as it was the fundamental issue. –Alex Jul 26 '12 at 6:28 add a You seem to have CSS turned off. python]$ locate libclntsh.so.11.1 > /u01/app/oracle/product/ > 18.104.22.168/dbhome_1/inventory/Scripts/ext/lib/libclntsh.so.11.1 > > /u01/app/oracle/product/22.214.171.124/dbhome_1/inventory/backup/2012-01-30_10-26-09PM/Scripts/ext/lib/libclntsh.so.11.1 > /u01/app/oracle/product/126.96.36.199/dbhome_1/lib/libclntsh.so.11.1 > > I'm kinda stuck. Originally Posted by robtrance Hi guys, first sorry my english. check over here
For example, LD_LIBRARY_PATH, it might be defined in your ~/.bashrc You could try modify the os environ before importing cx_Oracle. If I remember correctly, adding the $ORACLE_HOME/lib to LD_LIBRARY_PATH fixed it Since you're running 32 bit (having done this myself in a long time), check to see if there's a lib32 I can't edit /etc/ld.so.conf or similar as do not have privileges. –Alex Jul 25 '12 at 16:24 For now, but you really should talk to the sysadmin. –Ignacio Vazquez-Abrams I found that the django-chronograph fails to read those required libs inside $ORACLE_HOME/lib.
Well i write cause im new user in python and ubuntu, im trying to make an aplication in python that connect to oracle using the cx_oracle. Mark Re: [cx-oracle-users] linux (ubuntu) newbie needs help (pythoncan't see module) From: Harsha Reddy
Thanks! Please don't fill out this field. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV https://ubuntuforums.org/showthread.php?t=1839933 import cx_Oracle ImportError: libclntsh.so.11.1: cannot open shared object file: No such file or directory [[email protected]
create a shell script that you call from cron, and it it set the >> environment variables and then call you python program >> >> 2. Libclntsh.so.12.1 Download Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn Below is the traceback that I'm logging from the cronjob: <
Please enter a title. im about 3 weeks with this. Libclntsh.so.11.1 Missing The cx_Oracle.so file is found, but when it tries to > load the necessary Oracle library (libclntsh.so.9.0), I get the > message: > > ImportError: libclntsh.so.9.0: cannot open shared object file: Libclntsh.so.11.1 Download It's great that you are giving your students a chance to try it out.
I think LD_LIBRARY_PATH is correct, but it seems it's not being taken into consideration when the build of cx_Oracle happens for some reason. –Alex Jul 25 '12 at 16:42 http://rss4medics.com/cannot-open/runinstaller-libawt-so-libxp-so-6-cannot-open-shared-object-file.php I do not know ifthis is an issue with *nix systems as well.-Mark-----Original Message-----From: firstname.lastname@example.org[mailto:email@example.com] On Behalf Of DavidDurham, Jr.Sent: Thursday, April 17, 2008 12:46 PMTo: firstname.lastname@example.orgSubject: [cx-oracle-users] libclntsh.so.10.1: cannot open You could try modify the os environ before importing cx_Oracle. Please don't fill out this field. Error While Loading Shared Libraries Libclntsh.so.10.1 Cannot Open Shared Object File
I had a number of environment variables set in my .bashrc, including ORACLE_HOME, LD_LIBRARY_PATH and TNS_NAME. Congratulations! Enter your email address to subscribe to this blog and receive notifications of new posts by email. this content modify the environment in your python program (via os.environ) and >> then import cx_Oracle >> >> 3.
You forgot to tell your loader cache tool that it needs to look in that directory for libraries. Libclntsh.so Not Found Join them; it only takes a minute: Sign up Issue building cx_Oracle - libclntsh.so.11.1 => not found up vote 24 down vote favorite 4 I'm trying to build cx_Oracle for a Make sure you are pointing to the right directory. –Matt Jul 25 '12 at 18:24 Thanks Matt - I made a typo in my comment above whilst trying to
Its a 32bit machine running CentOS 5.8 > > I installed this : http://prdownloads.sourceforge.net/cx-oracle/cx_Oracle-5.1.2-11g-py24-1.i386.rpm?download > > By doing "rpm -i cx_Oracle-5.1.2-11g-py24-1.i386.rpm" > > Then as a regular user I set the Mark ------------------------------------------------------------------------------ _______________________________________________ cx-oracle-users mailing list [email protected] Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Libclntsh.so.11.1 Rpm Mark ------------------------------------------------------------------------------ _______________________________________________ cx-oracle-users mailing list [email protected]
Re: cx_Oracle error when used in a cron job 390020 Sep 20, 2009 7:00 PM (in response to 700084) I would say there's something defined in your environment that's not available python]$ cat env.sh ORACLE_BASE=/u01/app/oracle ORACLE_SID=orcl ORACLE_HOME=/u01/app/oracle/product/188.8.131.52/dbhome_1 PATH=$PATH:$ORACLE_HOME/bin LD_LIBRARY_PATH=/u01/app/oracle/product/184.108.40.206/dbhome_1/lib/ export ORACLE_BASE ORACLE_SID ORACLE_HOME PATH LD_LIBRARY_PATH Then when I run my teeny tiny testing script, I get the following: [[email protected] http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > cx-oracle-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > Re: [cx-oracle-users] CentOS 5, Oracle 11g RPM Binary install - libclntsh.so.11.1: From: Jeff MacDonald
It's great that you are giving your students a chance to try it out. Any suggestions? Serdar I have the same question Show 0 Likes(0) 7929Views Tags: none (add) cx_oracleContent tagged with cx_oracle, pythonContent tagged with python This content has been marked as final.