Problem importing a shared object
Rolf Wester
wester at ilt.fraunhofer.de
Mon May 3 03:27:10 EDT 2004
Hi,
I have an extension written in C/C++. This already worked as a python
module with Python 2.2. Now after upgrading to Suse Linux 9.1 and Python
2.3 I rebuilt the extension and all the libraries that the extension is
linked against. But when trying to import the shared object into
Python2.3 I get the error message:
>>> import pyopt
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: ./pyopt.so: failed to map segment from shared object:
Operation not permitted
>>>
I would be very appreciative for any help.
Thanks in advance
Rolf
More information about the Python-list
mailing list