ImportError: No module named dl

M

mathieu

Hi there,

I cannot figure out where did the 'dl' module went when running
python on AMD64 (debian stable).

According to the documentation, I have :


python
....
setdlopenflags(...)
<snip>
sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)
....

But when -as suggested by the doc- to load dl, I am getting:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named dl

dl module is extremely important since I need to load shared lib with
RTLD_GLOBAL (and not RTLD_LOCAL)
Ref:
http://gcc.gnu.org/ml/gcc/2002-05/msg00869.html
& http://lists.apple.com/archives/xcode-users/2006/Feb/msg00234.html

Thanks
-Mathieu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top