[XML-SIG] Availability of libxml2 and libxslt Python bindings

Fred L. Drake, Jr. fdrake@acm.org
Thu, 21 Feb 2002 13:25:29 -0500


M.-A. Lemburg writes:
 > One other thing you could try is to have module A load
 > both l1 and l2, or if the dependencies are just l2 -> l1,
 > to assure that l1 is loaded prior to l2.

One possible issue is that, by default, Python does not load the
symbols from libraries loaded for dynamic modules.  Daniel, to test
this easily, try this before importing A or B:

------------------------------------------------
import dl
import sys

sys.setdlopenflags(dl.RTLD_NOW | dl.RTLD_GLOBAL)
------------------------------------------------

(From the docstring for sys.setdlopenflags().)


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation