X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B192587.7070403@users.sourceforge.net> Date: Fri, 04 Dec 2009 23:06:47 +0800 From: JonY User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [1.5] question about python/ctypes/dlopen References: <4B192281 DOT 3050000 AT cryptelium DOT net> In-Reply-To: <4B192281.3050000@cryptelium.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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