John Pye <[EMAIL PROTECTED]> wrote: > I have a tricky situation that's preventing my Python/SWIG/C > application from running on the Debian Etch AMD64 platform. > > It seems that the 'dl' module is not available on that platform. The > only reason I need the 'dl' module, however, is for the values of > RTLD_LAZY etc, which I use with sys.setdlopenflags() in order to make > my imported SWIG module share its symbols correctly with more deeply- > nested plugin modiles in my C-code layer. > > I wonder if there is a workaround for this -- perhaps another way to > access the values of those RTLD flags?
Read stuff out of /usr/include/bits/dlfcn.h ? It seems to be a constant 1 anyway #define RTLD_LAZY 0x00001 You could try compiling the dl module by hand. -- Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick -- http://mail.python.org/mailman/listinfo/python-list
