Thread: [cx-oracle-users] Re: cx_Oracle on 64 bit RH EL3.0
Brought to you by:
atuining
From: Joel B. <joe...@ya...> - 2005-01-04 19:35:54
|
Hi again- Thanks for the info. Here's the strace output concerning the loading of cx_Oracle. It does look like it needs to be recompiled. Any advice on how to get the necessary Oracle includes? I have lots of undefined names when I try to compile now. Thanks, Joel open("/usr/lib/python2.2/site-packages/cx_Oracle.so", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0755, st_size=56296, ...}) = 0 open("/usr/lib/python2.2/site-packages/cx_Oracle.so", O_RDONLY) = 4 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200)\0"..., 640) = 640 close(4) = 0 close(3) = 0 write(2, "Traceback (most recent call last"..., 35Traceback (most recent call last): ) = 35 open("test.py", O_RDONLY) = 3 write(2, " File \"test.py\", line 1, in ?\n", 31 File "test.py", line 1, in ? ) = 31 fstat(3, {st_mode=S_IFREG|0644, st_size=17, ...}) = 0 mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9566d000 read(3, "import cx_Oracle\n", 32768) = 17 write(2, " ", 4 ) = 4 write(2, "import cx_Oracle\n", 17import cx_Oracle ) = 17 close(3) = 0 munmap(0x2a9566d000, 32768) = 0 write(2, "ImportError", 11ImportError) = 11 write(2, ": ", 2: ) = 2 write(2, "/usr/lib/python2.2/site-packages"..., 104/usr/lib/python2.2/site-packages/cx_Oracle.so: cannot open shared object file: No such file or directory) = 104 write(2, "\n", 1 ) = 1 rt_sigaction(SIGINT, NULL, {0x451e30, [], 0x4000000}, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0 exit_group(1) = ? __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail |
From: Anthony T. <an...@co...> - 2005-01-04 19:54:47
|
You can't install the client for yourself? You can acquire the $ORACLE_HOME/rdbms/demo directory from another machine or you can beg for someone to provide an archive of that directory from their own machine. You do, however, need to make sure that the Oracle client version matches on source and destination. Joel Bard wrote: > Hi again- > > Thanks for the info. Here's the strace output > concerning the loading of cx_Oracle. It does look > like it needs to be recompiled. Any advice on how to > get the necessary Oracle includes? I have lots of > undefined names when I try to compile now. > > Thanks, > > Joel > > open("/usr/lib/python2.2/site-packages/cx_Oracle.so", > O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0755, st_size=56296, ...}) = > 0 > open("/usr/lib/python2.2/site-packages/cx_Oracle.so", > O_RDONLY) = 4 > read(4, > "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200)\0"..., > 640) = 640 > close(4) = 0 > close(3) = 0 > write(2, "Traceback (most recent call last"..., > 35Traceback (most recent call last): > ) = 35 > open("test.py", O_RDONLY) = 3 > write(2, " File \"test.py\", line 1, in ?\n", 31 > File "test.py", line 1, in ? > ) = 31 > fstat(3, {st_mode=S_IFREG|0644, st_size=17, ...}) = 0 > mmap(NULL, 32768, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9566d000 > read(3, "import cx_Oracle\n", 32768) = 17 > write(2, " ", 4 ) = 4 > write(2, "import cx_Oracle\n", 17import cx_Oracle > ) = 17 > close(3) = 0 > munmap(0x2a9566d000, 32768) = 0 > write(2, "ImportError", 11ImportError) = > 11 > write(2, ": ", 2: ) = 2 > write(2, "/usr/lib/python2.2/site-packages"..., > 104/usr/lib/python2.2/site-packages/cx_Oracle.so: > cannot open shared object file: No such file or > directory) = 104 > write(2, "\n", 1 > ) = 1 > rt_sigaction(SIGINT, NULL, {0x451e30, [], 0x4000000}, > 8) = 0 > rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0 > exit_group(1) = ? > > > > > __________________________________ > Do you Yahoo!? > Read only the mail you want - Yahoo! Mail SpamGuard. > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > 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 |
From: Mihai I. <mi...@re...> - 2005-01-04 20:20:25
|
Not sure if it helps any, but I am successfully running cx_Oracle in 64-bit mode on a Fedora Core 3 amd64 box. I did build cx_Oracle myself against a 64-bit Oracle client install though (and what a nightmare to install it it was...) Misa On Tue, Jan 04, 2005 at 11:35:40AM -0800, Joel Bard wrote: > Hi again- > > Thanks for the info. Here's the strace output > concerning the loading of cx_Oracle. It does look > like it needs to be recompiled. Any advice on how to > get the necessary Oracle includes? I have lots of > undefined names when I try to compile now. > > Thanks, > > Joel > > open("/usr/lib/python2.2/site-packages/cx_Oracle.so", > O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0755, st_size=56296, ...}) = > 0 > open("/usr/lib/python2.2/site-packages/cx_Oracle.so", > O_RDONLY) = 4 > read(4, > "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200)\0"..., > 640) = 640 > close(4) = 0 > close(3) = 0 > write(2, "Traceback (most recent call last"..., > 35Traceback (most recent call last): > ) = 35 > open("test.py", O_RDONLY) = 3 > write(2, " File \"test.py\", line 1, in ?\n", 31 > File "test.py", line 1, in ? > ) = 31 > fstat(3, {st_mode=S_IFREG|0644, st_size=17, ...}) = 0 > mmap(NULL, 32768, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9566d000 > read(3, "import cx_Oracle\n", 32768) = 17 > write(2, " ", 4 ) = 4 > write(2, "import cx_Oracle\n", 17import cx_Oracle > ) = 17 > close(3) = 0 > munmap(0x2a9566d000, 32768) = 0 > write(2, "ImportError", 11ImportError) = > 11 > write(2, ": ", 2: ) = 2 > write(2, "/usr/lib/python2.2/site-packages"..., > 104/usr/lib/python2.2/site-packages/cx_Oracle.so: > cannot open shared object file: No such file or > directory) = 104 > write(2, "\n", 1 > ) = 1 > rt_sigaction(SIGINT, NULL, {0x451e30, [], 0x4000000}, > 8) = 0 > rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0 > exit_group(1) = ? > > > > > __________________________________ > Do you Yahoo!? > Read only the mail you want - Yahoo! Mail SpamGuard. > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > 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 |