public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* why python3 depends on libintl-devel ?
@ 2017-10-31 21:10 Jérôme Bouat
  2017-10-31 23:59 ` Yaakov Selkowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Jérôme Bouat @ 2017-10-31 21:10 UTC (permalink / raw)
  To: cygwin

Hello.

I noticed that the python3 package depends on the libintl-devel package.

Why python3 depends on a development package ?

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: why python3 depends on libintl-devel ?
  2017-10-31 21:10 why python3 depends on libintl-devel ? Jérôme Bouat
@ 2017-10-31 23:59 ` Yaakov Selkowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Yaakov Selkowitz @ 2017-10-31 23:59 UTC (permalink / raw)
  To: cygwin


[-- Attachment #1.1: Type: text/plain, Size: 907 bytes --]

On 2017-10-31 16:10, Jérôme Bouat wrote:
> I noticed that the python3 package depends on the libintl-devel package.

Only indirectly.

> Why python3 depends on a development package ?

ctypes.util.find_library()[1] uses dlltool from binutils to derive the
name of the DLL from the given import library name.  This might sound
odd, but on ELF platforms gcc is also a requirement, as a small program
is compiled and linked just in order to figure out the SONAME of a given
library name.

The binutils package includes both the programs and the (static) libbfd,
libiberty, and libopcodes libraries; it is for those that libintl-devel
is a dependency of binutils.  Perhaps we could consider splitting out
these libraries and their headers into a separate package
(libbfd-devel?) to avoid this.

[1] https://docs.python.org/3.6/library/ctypes.html#finding-shared-libraries

-- 
Yaakov


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-31 23:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-31 21:10 why python3 depends on libintl-devel ? Jérôme Bouat
2017-10-31 23:59 ` Yaakov Selkowitz

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