[Zope] Pb: Zope-Python module using C++ shared libraries
Andreas Jung
Andreas Jung <andreas@andreas-jung.com>
Fri, 21 Jun 2002 11:26:48 -0400
The same question has been answered an hour ago in the
thread [Zope] Error by using libraries with an external method.
-aj
--On Friday, June 21, 2002 11:22 -0400 Mitscher Dubreus
<dubreus@csit.fsu.edu> wrote:
> 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
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
---------------------------------------------------------------------
- Andreas Jung http://www.andreas-jung.com -
- EMail: andreas at andreas-jung.com -
- "Life is too short to (re)write parsers" -
---------------------------------------------------------------------