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; q=dns; s=default; b=E0kjNpZvfb8TEiUauo+YhhIHG/Q8sllb9bHZImEHjrW 6LI1HcxExxS5fo4p32c1aZp1YxAlwjULs01HMug8poOJoPJW06dOmMEsBYpfhXAh tNYU245eglb9BbTPzRWYpvN+tyzyxDt3Vnwzeooe64rsWrtNoU6cOxCS6wYNkqhc = 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; s=default; bh=Lq+CfSEyG0B9Mfg7Dwyk6090+p4=; b=lzwqs/X4Vq61/TUpx gWrpEwK7/RxenpDFX8Hq2sma+0Ah8/F1KAo0kv07UXOKxwPd7m3C1QiqLg+lLnHH Du42kra0tKe1eQNmiA2go9yvhSnBR+Xj9V6PdHafI6CzvMZ7ATbUYsMFvoAyCX0z oNqiqQNzHpizBX2u+OcewUsAtk= 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=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Message-ID: <53F523CC.9090309@cygwin.com> Date: Wed, 20 Aug 2014 17:40:12 -0500 From: Yaakov Selkowitz User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.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> In-Reply-To: <53F5016F.7040809@acm.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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