ctypes dlopen unresolved symbols simple issue

Patricio Stegmann <[email protected]>
Newsgroups gmane.comp.python.ctypes
Message-ID <[email protected]>
Hello to all,

I have a little problem trying to load a .so on linux.
Basically if I do:

ld my_lib.so

it tells me undefined reference to XInitThreads

if I do:

ld -lX11 my_lib.so

it works fine ...

however if I try to load the lib with ctypes dlopen function I get the same undefined reference error.

Is there a way to tell dlopen to include X11 as the -lX11 does ?
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
ctypes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ctypes-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.