From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16270 invoked by alias); 26 Mar 2019 14:08:32 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 15850 invoked by uid 89); 26 Mar 2019 14:08:31 -0000 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 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 26 Mar 2019 14:08:30 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 64A9631688EE for ; Tue, 26 Mar 2019 14:08:29 +0000 (UTC) Received: from ovpn-121-16.rdu2.redhat.com (ovpn-121-16.rdu2.redhat.com [10.10.121.16]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 08ED917500 for ; Tue, 26 Mar 2019 14:08:28 +0000 (UTC) Message-ID: <3dc5b19f876e7fa109e7e61dea8463ce748630eb.camel@cygwin.com> Subject: Re: Python extraneous dependencies From: Yaakov Selkowitz To: cygwin@cygwin.com Date: Tue, 26 Mar 2019 14:08:00 -0000 In-Reply-To: <5c9990e4.1c69fb81.48ecd.ebeb@mx.google.com> References: <5c9990e4.1c69fb81.48ecd.ebeb@mx.google.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2019-03/txt/msg00582.txt.bz2 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