[1.7] ctypes / geos / python / django

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Thu Dec 10 20:52:00 GMT 2009


On 10/12/2009 09:48, kiorky wrote:
> Any thought on why ctypes can't find that 'free' function ?

Probably because it can't find the library ('c') containing that 
function.  ctypes needs a patch to find most libraries just by name on 
Cygwin.  Here are patches for 2.5, 2.6, and 3.1:

http://cygwin-ports.svn.sourceforge.net/viewvc/cygwin-ports/ports/trunk/lang/python/2.5.2-ctypes-util-find_library.patch
http://cygwin-ports.svn.sourceforge.net/viewvc/cygwin-ports/ports/trunk/lang/python2.6/2.5.2-ctypes-util-find_library.patch
http://cygwin-ports.svn.sourceforge.net/viewvc/cygwin-ports/ports/trunk/lang/python3/3.0rc3-ctypes-util-find_library.patch

Perhaps our python maintainer will consider including this when he has a 
chance to update our python package.


Yaakov

--
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