Python 2.3b1 + cx_oracle 3.0 on HP-UX

"Martin v. Löwis" martin at v.loewis.de
Tue May 20 13:02:28 EDT 2003


Bernard Delmée wrote:

> I tried to build python without thread support, and to link cx_oracle
> against libcl.1 but I still get the same error. I suspect it might be 
> the oracle libs pulling in this libcl.2
> 
> Any suggestion?

If libcl is what I think it is (i.e. the system's C++ libraries), then,
I reiterate, your options are:

1. Make it not use libcl. If it uses libcl because it is written in C++,
    that may involve rewriting the module from C++ to C. If it links
    libcl because Oracle links that, this may involve rewriting Oracle
    from scratch, or asking the Oracle vendor for a version of their
    libraries that don't link libcl.

2. Link cx_oracle statically with Python.

3. Use a different operating system.

I'm strongly convinced that this is a complete list of your options, if 
you ignore the obvious ones (don't use cx_oracle, or don't use Python).
Realistically, I guess you will chose 2.

Regards,
Martin





More information about the Python-list mailing list