delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/26/10:08:45

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:subject:from:to:date:in-reply-to
:references:content-type:mime-version:content-transfer-encoding;
q=dns; s=default; b=BquaA9XCxIbo9gqdBukGlbQtH5rlaMYKs9L6IrlAkHb
XUM5UsUhy1imCc4boSmTCYgbB2ZaIdT4P07z2/T8QJ1akcm1DGKR1skArVVyFmHU
syKz901iEIwDqiIYjvKipUroe5Hs0NM0tueT9gZjppHv/LCWTdXlCKev/H+eXObY
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:subject:from:to:date:in-reply-to
:references:content-type:mime-version:content-transfer-encoding;
s=default; bh=NUrTSGegZnxpBGkJiDM8vgX46IM=; b=ZT3Qn6whKfhR3lQk+
GL+uHXXRfmEbk0+If8nNZ4ha74Rt45G1xbSmvR3GnGPAtiF4IEGu9CLbTTxxuuRC
qvIWtwNViYF0CKxW5PNlDKBs4W/AB9iFwbmx3a4cftJATaDKcRYetQSypI/QOpSP
dmTPBBxBD+UTBKLk2bLtY0DjDQ=
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=H*M:cygwin, respective, H*F:D*cygwin.com, noticed
X-HELO: mx1.redhat.com
Message-ID: <3dc5b19f876e7fa109e7e61dea8463ce748630eb.camel@cygwin.com>
Subject: Re: Python extraneous dependencies
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Date: Tue, 26 Mar 2019 10:08:27 -0400
In-Reply-To: <5c9990e4.1c69fb81.48ecd.ebeb@mx.google.com>
References: <a22c262a6916033450bc011dc181bc6f553a9baf DOT camel AT cygwin DOT com> <5c9990e4 DOT 1c69fb81 DOT 48ecd DOT ebeb AT mx DOT google DOT com>
User-Agent: Evolution 3.30.5 (3.30.5-1.fc29)
MIME-Version: 1.0

On Mon, 2019-03-25 at 19:39 -0700, Steven Penny wrote:
> On Sun, 24 Feb 2019 17:42:36, Yaakov Selkowitz wrote:
> > On Sat, 2019-02-23 at 16:29 -0800, Steven Penny wrote:
> > > I noticed that "python36" requires "binutils".
> > 
> > This is needed for ctypes.util.find_library().  FWIW, on Linux, not
> > only binutils is used, but also gcc.
> 
> Are you sure about that? 

Of course I am.

> It seems that function doesnt even work:
> 
> $ python3.6 -q
> > > > from ctypes.util import find_library
> > > > print(find_library('z'))
> None

WFM (returns cygz.dll), do you have the respective -devel packages
installed?  Those are also required for find_library.

> > > > print(find_library('cygz'))
> None
> > > > print(find_library('z.dll'))
> None
> > > > print(find_library('cygz.dll'))
> None

The 'cygz' forms won't work, but that's to be expected.

> Also see this post:
> 
> https://cygwin.com/ml/cygwin/2019-02/msg00432.html

This is incorrect, look at ctypes/util.py and you will see that.

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

- Raw text -


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