public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowitz@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Python extraneous dependencies
Date: Tue, 26 Mar 2019 14:08:00 -0000	[thread overview]
Message-ID: <3dc5b19f876e7fa109e7e61dea8463ce748630eb.camel@cygwin.com> (raw)
In-Reply-To: <5c9990e4.1c69fb81.48ecd.ebeb@mx.google.com>

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

  reply	other threads:[~2019-03-26 14:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-24  1:45 Steven Penny
2019-02-24  3:08 ` LRN
2019-02-25  2:24 ` Yaakov Selkowitz
2019-02-25 13:54   ` Steven Penny
2019-02-26  5:31     ` Yaakov Selkowitz
2019-02-26  9:48       ` Ray Donnelly
2019-03-26  2:39   ` Steven Penny
2019-03-26 14:08     ` Yaakov Selkowitz [this message]
2019-03-26 18:25       ` Steven Penny
2019-03-26 18:58         ` Yaakov Selkowitz
2019-03-26 23:09           ` Steven Penny
2019-04-21 15:46           ` Steven Penny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3dc5b19f876e7fa109e7e61dea8463ce748630eb.camel@cygwin.com \
    --to=yselkowitz@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).