delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/06/02:51:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4F7DFDCA.8090906@cygwin.com>
References: <CAAEuNhFJXwSG6M-O=GBH5MXR69QfhwrR9HQL36P7n_S=RtenfQ AT mail DOT gmail DOT com> <4F7DFDCA DOT 8090906 AT cygwin DOT com>
From: Adrian Fita <adrian DOT fita AT gmail DOT com>
Date: Fri, 6 Apr 2012 09:50:52 +0300
Message-ID: <CAAEuNhFi_gYPeK5HFzTibYXJDez4khghcaNc-6ELWpcx+JDKaw@mail.gmail.com>
Subject: Re: "dst_lib_init: openssl failure" after yesterday's update
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q366pW4T031706

On Thu, Apr 5, 2012 at 23:17, Larry Hall (Cygwin) wrote:
> On 4/5/2012 5:57 AM, Adrian Fita wrote:

[...]

>> After yesterday update I noticed that when I run host or dig, they
>> give the error "dst_lib_init: openssl failure" (some other commands
>> which use the openssl library may fail like this also).

[...]

> Works for me:
>
> $ host localhost
> localhost has address 127.0.0.1
>
> Just updated all my locally installed packages and included 'bind'.  I
> guess your next step is to provide a full problem report if you haven't
> been able to solve this.

Hello.

After running dig and host with strace I found that they were trying
to open the file "C:\cygwin\lib\engines\libgost.so", which didn't
exist on my system; I saw "geterrno_from_win_error: windows error 126
== errno 2" in the trace, when the binaries were trying to open this
file. I found out that the libgost.so file belongs to the openssl
package, which indeed, wasn't installed. After I installed it, all is
good.

Maybe some binary requirements changed and the package dependencies
weren't updated to reflect this? I mean, after upgrading bind, the
setup tool should have installed openssl as a dependency.

-- 
Fita Adrian

--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019