Hi, thank you for getting back to me.<div><br></div><div>Yes, our entire toolchain is 64 bit - a mix of stuff I have downloaded and built and some packages from HP (in the form of depot files) GCC was downloaded from HP, for example.<div>
<br></div><div>I had to manually add -mlp64 to the CC and CXX lines in the Python Makefile to get it to build 64 bit Python 3. I also had to define PATH_MAX in about 5 files, because it was not resolving it, and it was just easier to add it than to spend more time trying to make it work. I hate HP-UX, BTW.</div>
<div><br></div><div>Python -d did not generate any additional information, and so was not helpful (should this work?). Python -v did, however, and it came up with a number of unresolved symbols all seeming to be from libnnz11.so. I tried linking against all of the *.so files in ORACLE_HOME/lib, but I don't remember trying libttsh11 specifically. I will try it again on Monday.</div>
<div><br clear="all">--<br><br>Cliff<br>
<br><br><div class="gmail_quote">On Sat, Aug 28, 2010 at 9:11 AM, Alexander Gattin <span dir="ltr"><<a href="mailto:xrgtn@yandex.ru">xrgtn@yandex.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br>
<br>
On Thu, Aug 26, 2010 at 08:08:42PM -0700, Cliff<br>
Martin wrote:<br>
> I have just gotten done building Python 3.1.2 on<br>
> HPUX 11.31 Itanium (IA64) using gcc 4.4.3, and<br>
> have tried building cx_Oracle to go with it. The<br>
> build succeeds, but test and importing does not.<br>
> I have tried building Python with threads and<br>
> without. The only exotic thing I do with the<br>
> configure for python is to supply -mlp64, which<br>
<br>
BTW, did you build all GNU toolchain in 64 bit<br>
mode? I made some tries to get 64bit python etc<br>
but stubmled over compilation errors and didn't<br>
get enough free time to finish the effort.<br>
<br>
> makes it a 64 bit build. Python 3 appears to<br>
> work just fine, and cx_Oracle has worked on this<br>
> same architecture in the past with Python 2.6.5.<br>
<br>
did you try to start python -d and<br>
>>> import cx_Oracle?<br>
<br>
It may reveal that some symbols in libnnz10 aren't<br>
resolvable. If this is the case, try linking with<br>
bith libttsh10 and libnnz10:<br>
<br>
.../cx_Oracle-x.y.z $ LDFLAGS="-lttsh10" python setup.py install<br>
<br>
Alternatively, try linking against "static"<br>
version of libclntsh10 -- libclntst10.<br>
<font color="#888888"><br>
--<br>
With best regards,<br>
xrgtn<br>
</font></blockquote></div><br></div></div>