Re: [cx-oracle-users] cx_Oracle on 64 bit RH EL3.0
Brought to you by:
atuining
From: Anthony T. <an...@co...> - 2005-01-04 17:52:57
|
You might want to try using strace to track down which file it can't load. I suspect it is one of the other files located in an Oracle client installation but that should track down which one. I suspect, though, that if you want to use a 64-bit Oracle installation, you will have to compile cx_Oracle yourself since the provided binary was built for 32-bit installations. If you get past the "no such file or directory" error, you'll probably be greeted with segfaults because of the changes in sizes of a number of structures -- you might be lucky but I wouldn't count on it.... :-) 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 -- Anthony Tuininga an...@co... Computronix Distinctive Software. Real People. Suite 200, 10216 - 124 Street NW Edmonton, AB, Canada T5N 4A3 Phone: (780) 454-3700 Fax: (780) 454-3838 http://www.computronix.com |