This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Python missing dependency on libuuid-devel?
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 20 Aug 2014 17:40:12 -0500
- Subject: Re: Python missing dependency on libuuid-devel?
- Authentication-results: sourceware.org; auth=none
- References: <53F5016F dot 7040809 at acm dot org>
On 2014-08-20 15:13, David Rothenberger wrote:
Doing an "import uuid" in python causes a segmentation fault unless
libuuid-devel is installed. It appears from the strace that something is
trying to find libuuid.dll.a. Installing libuuid-devel fixes the problem.
You are indeed correct. The stdlib uuid.py loads libuuid via
ctypes.util.find_library, which (with our patchset) finds the actual DLL
name via the import library. (This is also true on ELF platforms,
although the actual mechanism is somewhat different.)
I have added libuuid-devel to both python and python3 requires.
This only happens when x64_64. It works fine with the i686 distribution.
Only by luck; it's actually necessary for both arches.
Thanks for reporting,
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