This is the mail archive of the
mailing list for the Cygwin project.
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
- Subject: Re: Python extraneous dependencies
- References: <email@example.com> <firstname.lastname@example.org>
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'))
WFM (returns cygz.dll), do you have the respective -devel packages
installed? Those are also required for find_library.
> > > > print(find_library('cygz'))
> > > > print(find_library('z.dll'))
> > > > print(find_library('cygz.dll'))
The 'cygz' forms won't work, but that's to be expected.
> Also see this post:
This is incorrect, look at ctypes/util.py and you will see that.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple