Helmut Jarausch schrieb: > Hi, > > how can I specify the paths to be searched for a dynamic library > to be loaded by ctypes' CDLL class on a Linux system. > > Do I have to set os.environment['LD_LIBRARY_PATH'] ? >
ctypes passes the argument given to CDLL(path) straight to the dlopen(3) call, so your system documentation should tell you. Thomas -- http://mail.python.org/mailman/listinfo/python-list
