[1.5] question about python/ctypes/dlopen

JonY jon_y@users.sourceforge.net
Fri Dec 4 15:21:00 GMT 2009


On 12/4/2009 22:53, kiorky wrote:
> Hello, i'm trying to use python ctypes which use under the hood dlopen.
> I have a strange permission denied running this following code, if someone have
> clues ...
>
> Base code
> ------------------------
> $ cat test_ctypes.py
> from ctypes import  CDLL
> CDLL('libgeos_c.dll.a')
>

Hi,

have you tried loading "cyggeos_c-1.dll" instead of the import library?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list