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: <4F7DFDCA DOT 8090906 AT cygwin DOT com> From: Adrian Fita Date: Fri, 6 Apr 2012 09:50:52 +0300 Message-ID: Subject: Re: "dst_lib_init: openssl failure" after yesterday's update To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Content-Transfer-Encoding: 8bit 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