public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [bind] host can't find /usr/lib/engines/libgost.so - cygcheck.out (0/1)
@ 2012-11-29 15:55 Andrew Schulman
  2012-12-02 10:42 ` Yaakov (Cygwin/X)
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Schulman @ 2012-11-29 15:55 UTC (permalink / raw)
  To: cygwin

The "host" command in bind-9.9.2-1 fails:

$ host www.example.com
29-Nov-2012 10:42:22.749 ENGINE_by_id failed
29-Nov-2012 10:42:22.749 error:25066067:DSO support
routines:DLFCN_LOAD:could not load the shared
library:dso_dlfcn.c:187:filename(/usr/lib/engines/libgost.so): No such file
or directory
29-Nov-2012 10:42:22.749 error:25070067:DSO support routines:DSO_load:could
not load the shared library:dso_lib.c:244:
29-Nov-2012 10:42:22.749 error:260B6084:engine routines:DYNAMIC_LOAD:dso
not found:eng_dyn.c:450:
29-Nov-2012 10:42:22.749 error:2606A074:engine routines:ENGINE_by_id:no
such engine:eng_list.c:417:id=gost
host: dst_lib_init: crypto failure

It seems that host expects to find /usr/lib/engines/libgost.so.  There's no
directory /usr/lib/engines in my installation, but there is
/usr/lib/openssl-1.0.1/engines/libgost.so.

ln -s openssl-1.0.1/engines /usr/lib/engines 

makes the error message go away.  cygcheck -svr output is attached.


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bind] host can't find /usr/lib/engines/libgost.so - cygcheck.out (0/1)
  2012-11-29 15:55 [bind] host can't find /usr/lib/engines/libgost.so - cygcheck.out (0/1) Andrew Schulman
@ 2012-12-02 10:42 ` Yaakov (Cygwin/X)
  2012-12-03 18:44   ` Andrew Schulman
  0 siblings, 1 reply; 3+ messages in thread
From: Yaakov (Cygwin/X) @ 2012-12-02 10:42 UTC (permalink / raw)
  To: cygwin

On Thu, 2012-11-29 at 10:52 -0500, Andrew Schulman wrote:
> It seems that host expects to find /usr/lib/engines/libgost.so.  There's no
> directory /usr/lib/engines in my installation, but there is
> /usr/lib/openssl-1.0.1/engines/libgost.so.

This is the culprit:

>  1515k 2012/04/29 C:\cygwin\bin\cygcrypto-1.0.0.dll - os=4.0 img=1.0 sys=4.0
>                   "cygcrypto-1.0.0.dll" v0.0 ts=2012/4/29 10:11

That timestamp would match 1.0.1b-2, but:

> libopenssl100             1.0.1c-2                         OK

This means you had something running which uses libcrypto (e.g. sshd)
when you ran setup that time, and ignored the in-use DLL warning.
You'll need to exit *all* Cygwin processes, including services, and
reinstall libopenssl100 to fix this.


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bind] host can't find /usr/lib/engines/libgost.so - cygcheck.out (0/1)
  2012-12-02 10:42 ` Yaakov (Cygwin/X)
@ 2012-12-03 18:44   ` Andrew Schulman
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Schulman @ 2012-12-03 18:44 UTC (permalink / raw)
  To: cygwin

> On Thu, 2012-11-29 at 10:52 -0500, Andrew Schulman wrote:
> > It seems that host expects to find /usr/lib/engines/libgost.so.  There's no
> > directory /usr/lib/engines in my installation, but there is
> > /usr/lib/openssl-1.0.1/engines/libgost.so.
> 
> This is the culprit:
> 
> >  1515k 2012/04/29 C:\cygwin\bin\cygcrypto-1.0.0.dll - os=4.0 img=1.0 sys=4.0
> >                   "cygcrypto-1.0.0.dll" v0.0 ts=2012/4/29 10:11
> 
> That timestamp would match 1.0.1b-2, but:
> 
> > libopenssl100             1.0.1c-2                         OK
> 
> This means you had something running which uses libcrypto (e.g. sshd)
> when you ran setup that time, and ignored the in-use DLL warning.
> You'll need to exit *all* Cygwin processes, including services, and
> reinstall libopenssl100 to fix this.

Confirmed.  I removed the symlink, stopped all Cygwin processes, and
reinstalled libopenssl100, and host works now.  Thanks.


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-03 18:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-29 15:55 [bind] host can't find /usr/lib/engines/libgost.so - cygcheck.out (0/1) Andrew Schulman
2012-12-02 10:42 ` Yaakov (Cygwin/X)
2012-12-03 18:44   ` Andrew Schulman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).