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