import cx_Oracle fails!

Paul D. Lusk plusk at radford.edu
Thu May 19 08:18:22 EDT 2005


"Daniel" <danricofer at gmail.com> wrote in 
news:1116454404.355741.51730 at f14g2000cwb.googlegroups.com:

> Hello from Brazil :-)
> 
> I'm trying to bring cx_Oracle alive on my Python 2.4.1 @ HP-UX 11
> (suckz) and Oracle 10.1.0 64bits without success
> 
> I've already tryied the suggestions from Bernard Delmée and Martin v.
> Löwis (topic "Python 2.3b1 + cx_oracle 3.0 on HP-UX"), but it didn't
> work, even when I recompiled Python with the "-lc -lpthread" options.
> The result was:
> 
>>>> import cx_Oracle
> /usr/lib/dld.sl: Can't shl_load() a library containing Thread Local
> Storage: /usr/lib/libcl.2
> /usr/lib/dld.sl: Exec format error
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: Failed to load
> /usr/local/lib/python2.4/site-packages/cx_Oracle.sl
>>>> 
> 
> Any other suggestion?
> 
> Thank you all in advance!
> 

I got similar errors when first trying to use DCOracle2 on HPUX.

The solution that worked here is: 

         ./configure --with-libs='-lcl'

Try that, if you haven't already.

-- 
Paul






More information about the Python-list mailing list