Re: [cx-oracle-users] Installing cx_Oracle on Fedora 12 - Oracle include files
Brought to you by:
atuining
From: Weber, G. <Geo...@PA...> - 2010-08-18 12:17:53
|
You should be able to get the Oracle "Instant Client". The files you are missing are part of the SDK download on the page. Go to http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html, select the proper OS, and download the SDK part of the client. For Linux x86_64, the file is: oracle-instantclient11.2-sdk-11.2.0.1.0-1.x86_64.zip Unzip that to your ORACLE_HOME directory. Due to the way your directories are set up, you'll probably have to move the instant_client_11_2 directory's contents up a level to your $ORACLE_HOME dir. Good luck! ________________________________________ From: Brianna Laugher [bri...@gm...] Sent: Wednesday, August 18, 2010 1:18 AM To: cx-...@li... Subject: [cx-oracle-users] Installing cx_Oracle on Fedora 12 - Oracle include files Hi, I am having trouble installing cx_Oracle on my Fedora 12 machine. Via pip or manually, I get the error distutils.errors.DistutilsSetupError: cannot locate Oracle include files I don't know if I actually _have_ the Oracle include files. I just have sqlplus64 to connect to someone else's database. I have these in my .bash_profile: export ORACLE_VERSION=11.2 export ORACLE_HOME=/usr/lib/oracle/$ORACLE_VERSION/client64 export PATH=$PATH:$ORACLE_HOME/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib export TNS_ADMIN=/etc export TWO_TASK=fdb.ho I was also given a couple of files, /etc/tnsnames.ora /etc/sqlnet.ora. These are the files I have in the $ORACLE_HOME/lib - I tried changing LD_LIBRARY_PATH to just be set to that, too - glogin.sql libclntsh.so.11.1 libnnz11.so libocci.so.11.1 libociei.so libocijdbc11.so libsqlplusic.so libsqlplus.so ojdbc5.jar ojdbc6.jar xstreams.jar What files is it looking for? I don't know much about how Oracle works so I'm pretty lost. Would just like to be able to read my database via python instead of the horrid sqlplus command line! thanks Brianna ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ cx-oracle-users mailing list cx-...@li... https://lists.sourceforge.net/lists/listinfo/cx-oracle-users |