[Zope] Pb: Zope-Python module using C++ shared libraries

Mitscher Dubreus dubreus@csit.fsu.edu
Fri, 21 Jun 2002 11:22:18 -0400


Hi,

I created python module that use C++ shared libraries.
I use an External Method in Zope to access my module.

But Zope can not access to the shared C++ libraries eventhough they are in 
the same directory.

----------------------------------------------------------------------
Error Type: ImportError
Error Value: ./lib1.so: cannot open shared object file: No such file or 
directory
-----------------------------------------------------------------------
All the files needed are placed in the Extensions directory.
Zope can access to the module, but not to the C++ shared libraries the module 
uses.


If I don't use Zope but just Python, there's no problem.

can somebody help?

NB: the module is compiled like:
     g++ ............
     g++ -shared ./lib1.so -o mymodule.so