From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18606 invoked by alias); 31 Mar 2017 19:32:16 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 18595 invoked by uid 89); 31 Mar 2017 19:32:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=aspx, meaningless, H*MI:sk:43b6141, H*i:sk:43b6141 X-HELO: mail-io0-f171.google.com Received: from mail-io0-f171.google.com (HELO mail-io0-f171.google.com) (209.85.223.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 31 Mar 2017 19:32:14 +0000 Received: by mail-io0-f171.google.com with SMTP id l7so45810404ioe.3 for ; Fri, 31 Mar 2017 12:32:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=K1VQgK8Q20N9JSZi+ykzLXHTaRA1cJNH0pbvY74BkS0=; b=q2znjzjf3ZvHEfe5cnv9b8JHNnQnyuZGJeK7KiO7GOOiRH9rxraOgm5tD4zwmWR8DM KMNWETiczwWQ4he3ni08Q7NOS3UGopHapupBIT8PkYnkWTiMwGZ8Ov5b93DR5feMtm1T vl6wdlyhHZxP222PwK5GzMOUOftb40OwLhQ2i09z4i/qvREVUkzRY0hlSiJvpoRGRR8h fC/uB3M5CbFJ9MdMWJVQ0vNGk0R/E4Abm/ZtiwE93IMUHJ/CdsvgKLXDOGlxB/mg5moa Q432E58M+SLrp/qRF2bAM7RdYTnOUpsHzR8dwysmQQyVmDaahGvPJOGMbGC9ximoKW4n PT2A== X-Gm-Message-State: AFeK/H0WnitmQWkIoQWCyUrpX6+s8L0Hy82uK0L4TvskZ7y+h71IzNehyeZVqbaRpn2IXw== X-Received: by 10.107.31.11 with SMTP id f11mr5863745iof.183.1490988734246; Fri, 31 Mar 2017 12:32:14 -0700 (PDT) Received: from [192.168.0.6] (d27-96-48-76.nap.wideopenwest.com. [96.27.76.48]) by smtp.gmail.com with ESMTPSA id w73sm3636816ioi.16.2017.03.31.12.32.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Mar 2017 12:32:13 -0700 (PDT) Subject: Re: Solved: R-3.3.3-1: unable to load stats.dll To: cygwin@cygwin.com References: <87bmslnxh4.fsf@Rainer.invalid> <3b8e87bd-082a-e827-3bb3-faeeb1104978@gmail.com> <43b61419-374b-86ea-09d1-40c54ef00479@gmail.com> From: cyg Simple Message-ID: Date: Fri, 31 Mar 2017 19:39:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <43b61419-374b-86ea-09d1-40c54ef00479@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg00418.txt.bz2 On 3/31/2017 12:57 PM, Marco Atzeri wrote: > On 31/03/2017 15:35, cyg Simple wrote: >> On 3/28/2017 3:17 PM, Oliver Schoett wrote: >>> Achim Gratz wrote: >>>> Try >>>> >>>> $ cygcheck /usr/lib/R/library/stats/libs/stats.dll >>>> >>>> instead. On a hunch, check your PATH and make sure it contains >>>> "/usr/lib/lapack". >>> >>> The cygcheck command ends with >>> >>> cygcheck: track_down: could not find cyglapack-0.dll >>> >>> That library can be found in /usr/lib/lapack, and adding this directory >>> to the PATH fixes the problem: Rscript now starts without error message. >>> >> >> Which is why the packager should move the required .dll to the /usr/bin >> directory. Was there a stated change to this policy? > > No. > If you compare openblas and lapack you will find two cygblas-0.dll, > that I can not make coexist in /usr/bin > And so we add to PATH and still have a problem if the lapack and openblas versions are different. Adding to PATH doesn't fix the issue and if I add the openblas version before lapack then lapack suffers and vice-versa. This is the reason we've put DLL in the /usr/bin directory because adding to PATH is meaningless. Perhaps https://msdn.microsoft.com/en-us/library/windows/desktop/hh310513(v=vs.85).aspx should be used in the main function or a Cygwin API developed to do that. Or fix lapack to name it's library with a different version id. If there are API/ABI differences, then -0 isn't correct since the two cannot overlay each other. -- cyg Simple -- 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