X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding :reply-to; q=dns; s=default; b=o+RXAa9yOPRZYTEbxUVOM/xaGRexl5/aM 4PNgQUEU0kzyIAFMosAWb5dzpQ3oruedNS1d9PoGVddfMLtSnkvM1+Fl6Z6ApRS8 LvprNDi12zYEC9T76EMYGv/0bQgLmQbtBr83oCKeZPEA9shWe0XsGSrcspIGzqH+ aszDJUonAo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding :reply-to; s=default; bh=fm5kwDHnJ4/nRX8luWzJ/GD3DeI=; b=CvTHbRN vqnBLszpU3PUZeMGK3EnvMXbw30C6Ce7V6PfNzjnG1zPBDjfIVd7Pn8sEzf3EaEp 8taKscKRqxVuklUUBjEbnrEc6wj4mItnQvB9jKHKHKnEEvqBz8EHh5802NjnRoRR 3QnA6Wr9ku3Hu4mwYPu85Z4GGV98uHVyXXeE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: qmta09.emeryville.ca.mail.comcast.net Message-ID: <53F53B32.4090607@acm.org> Date: Wed, 20 Aug 2014 17:20:02 -0700 From: David Rothenberger User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Python missing dependency on libuuid-devel? References: <53F5016F DOT 7040809 AT acm DOT org> <53F523CC DOT 9090309 AT cygwin DOT com> In-Reply-To: <53F523CC.9090309@cygwin.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Yaakov Selkowitz wrote: > 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. I think binutils is also required. An strace shows a use of dlltool and python will segfault if it's not installed. -- David Rothenberger ---- daveroth AT acm DOT org "Trust me": Translation of the Latin "caveat emptor." -- 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