Python extraneous dependencies

Yaakov Selkowitz yselkowitz@cygwin.com
Tue Mar 26 14:08:00 GMT 2019


On Mon, 2019年03月25日 at 19:39 -0700, Steven Penny wrote:
> On 2019年2月24日 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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /