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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=v01Ji9wr+H12nKi4 lkBXWqPGwgbNsf5XnmJdwZF9uLMNuj6tjz9uMcV2uSfj2TQXg7vVk942bWtQxj4Q JaeHJ/ptAjZNc4XpGOA6Hz31sra3tauf+z+HWTWP11xxTrUsLuuX9GH4JRyM9HLM XNWQh3v+8QQHpIb0xKi1aujpY30= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=/TRossdpUP3h62YvwLOZn2 82O/E=; b=hIQ6SIHj4xlw3ChtyvzMvkQKfpPWddkAOH42xpfATYDQzSN5mfqSwd +hYX60fkl2F38C3a6CyWXwQ2wmjJEflg900kgna+C9cjFAL9KrSnq82rqpUMGwmJ 7hLcOLBoxn7n2WuxAaNy36u8GwK+vS6RWUEx31Kd6wb7+5l9kzj4E= 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.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 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) Subject: Re: Solved: R-3.3.3-1: unable to load stats.dll To: cygwin AT cygwin DOT com References: <87bmslnxh4 DOT fsf AT Rainer DOT invalid> <3b8e87bd-082a-e827-3bb3-faeeb1104978 AT gmail DOT com> <43b61419-374b-86ea-09d1-40c54ef00479 AT gmail DOT com> From: cyg Simple Message-ID: Date: Fri, 31 Mar 2017 15:32:15 -0400 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 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