Re: [cx-oracle-users] cx_Oracle 4.1, Oracle 10.2 in Solaris
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2005-12-16 16:32:19
|
Glad to be of help. The symlink should not be an issue so it would appear that you are running 32-bit Python and the default Oracle install is 64-bit. On 12/16/05, Mikel Larreategi <mla...@co...> wrote: > Anthony Tuininga wrote: > > You'll need to find that library. Its normally located in > > $ORACLE_HOME/lib but if you are using the Oracle instant client that > > can be found elsewhere. I have patches to setup.py that deal with some > > of these issues but they are quite simple for you to make as well. > > Locate the shared library and change the line that specifies "libDirs > > =3D " and then run setup.py again. The alternative is to simply copy th= e > > command line that failed and modify it to include the -L directive. > > Hope that helps. > > Well, the library is indeed at $ORACLE_HOME/lib although it's a symlink > to libclntsh.so.10.1 > > I've found another libclntsh.so at $ORACLE_HOME/lib32 and pointing > libDirs to it, cx_Oracle was built correctly and after putting it in the > LD_LIBRARY_PATH works correctly form Python. > > Thank you for your help > > -- > Mikel Larreategi > mla...@co... > > CodeSyntax > Azitaingo Industrialdea 3 K > E-20600 Eibar > Tel: (+34) 943 82 17 80 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > |