Re: [cx-oracle-users] cx_Oracle on 64 bit RH EL3.0
Brought to you by:
atuining
|
From: D.R. B. <da...@as...> - 2005-01-05 08:25:06
|
Hoi Joel,
The following two shared libraries that your cx_Oracle.so is referring to,
seem suspicious to me.
> libclntsh.so.8.0 =>
> /dirs/home/jbard/smilesScript/libclntsh.so.8.0
> libnnz10.so =>
> /usr/lib/oracle/10.1.0.2/client/lib/libnnz10.so
> (0x40ce9000)
The libclntsh.so is an Oracle 8 library and the libnnz10.so is an Oracle 10g
library.
You might try changing your $LD_LIBRARY_PATH to get this right.
Danny
On Tue, Jan 04, 2005 at 09:24:01AM -0800, Joel Bard wrote:
> Hi-
>
> I've been unable to get cx_Oracle to import in the 64
> bit version of RH EL 3.0.
>
> Here's the error:
>
> Python 2.2.3 (#1, Aug 8 2003, 08:44:27)
> [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-13)] on
> linux2
> Type "help", "copyright", "credits" or "license" for
> more information.
> >>> import cx_Oracle
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError:
> /usr/lib/python2.2/site-packages/cx_Oracle.so: cannot
> open shared object file: No such file or directory
>
> results of uname -a:
> Linux cela048010 2.4.21-20.ELsmp #1 SMP Wed Aug 18
> 20:34:58 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux
>
> I've tried:
> $ ldd /usr/lib/python2.2/site-packages/cx_Oracle.so
> libclntsh.so.8.0 =>
> /dirs/home/jbard/smilesScript/libclntsh.so.8.0
> (0x40026000)
> libc.so.6 => /lib/tls/libc.so.6 (0x40bb1000)
> libnnz10.so =>
> /usr/lib/oracle/10.1.0.2/client/lib/libnnz10.so
> (0x40ce9000)
> libdl.so.2 => /lib/libdl.so.2 (0x40f1d000)
> libm.so.6 => /lib/tls/libm.so.6 (0x40f20000)
> libpthread.so.0 => /lib/tls/libpthread.so.0
> (0x40f42000)
> libnsl.so.1 => /lib/libnsl.so.1 (0x40f53000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2
> (0x40000000)
>
> So it looks like the libs are there. Could it be have
> to do with the presence of both 32 and 64 bit versions
> of some libs?
>
> Unfortunately, I have the client only Oracle setup so
> I haven't been able to build cx_Oracle from source.
>
> I've had cx_Oracle running no problem on other, non 64
> bit, Redhat Linux machines.
>
> Thanks!
>
> Joel
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> cx-oracle-users mailing list
> cx-...@li...
> https://lists.sourceforge.net/lists/listinfo/cx-oracle-users
|