Python 2.2 dynamic library problem on Compaq Tru64
Glenn Stauffer
stauffer at swarthmore.edu
Tue Feb 5 11:06:32 EST 2002
This is a shot in the dark, but maybe someone here has a clue to this error
(my Unix admin doesn't).
I compiled and installed Python 2.2 on a Compaq server running Tru64 v5.0.
I am using cx_Oracle to access an Oracle 8.1.6.2 database. Running my
scripts at the unix prompt, all is well. When I run them through cron, I get
this error:
> Traceback (most recent call last):
> File "/usr/users/stauffer/python/dbamon/dbchk.py", line 3, in ?
> import cx_Oracle, os, sys, smtplib
> ImportError: dlopen: cannot load
> /usr/local/lib/python2.2/site-packages/cx_Oracle.so
I've copied the cx_Oracle.so into a variety of locations - the local script
directory, site-packages, lib-dynload - with the same results.
Any clues about how to get this working would be greatly appreciated.
Thanks, Glenn Stauffer
More information about the Python-list
mailing list