delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/04/10:21:53

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 <jon_y AT users DOT sourceforge DOT net>
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>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019