Web lists-archives.com

RE: gost.dll required but missing after latest Cygwin update




bind-utils 9.11.2-2-P2 has a dependency on libssl1.1. A workaround for my
issue seems to be downgrading bind-utils to version 9.11.2-2-P1 which
doesn't have that dependency.

Thanks go to  Brian Ingliss for the hint which pointed me in the right
direction.

I'd suggest anyone maintaining a package with a dependency on libssl1.1
should check for similar issues.

Regards,  Alan

-----Original Message-----
From: Alan [mailto:alan@xxxxxxxxxxxxxxx] 
Sent: Wednesday, March 20, 2019 5:20 PM
To: 'cygwin@xxxxxxxxxx' <cygwin@xxxxxxxxxx>
Subject: gost.dll required but missing after latest Cygwin update

This seems related to openssl 1.1.1b1 but it affects multiple other
programs.

For example dig no longer works:

AlanG@Bytehouse-PC-01 ~
$ dig bytehouse.co.uk any
20-Mar-2019 16:52:02.636 ENGINE_by_id failed (crypto failure)
20-Mar-2019 16:52:02.637 error:25066067:DSO support
routines:dlfcn_load:could not load the shared
library:crypto/dso/dso_dlfcn.c:119:filename(/usr/lib/engines-1.1/gost.dll):
No such file or directory
20-Mar-2019 16:52:02.637 error:25070067:DSO support routines:DSO_load:could
not load the shared library:crypto/dso/dso_lib.c:162:
20-Mar-2019 16:52:02.637 error:260B6084:engine routines:dynamic_load:dso not
found:crypto/engine/eng_dyn.c:414:
20-Mar-2019 16:52:02.637 error:2606A074:engine routines:ENGINE_by_id:no such
engine:crypto/engine/eng_list.c:334:id=gost
dig: dst_lib_init: crypto failure

I have been unable so far to find a workaround or fix. There's a libgost.so
in /usr/lib/engines-1.0 but no gost.dll anywhere:

$ ls -al /usr/lib/engine*
/usr/lib/engines-1.0:
total 328
drwxr-xr-x+ 1 AlanG Domain Users     0 Mar 20 16:50 .
drwxr-xr-x+ 1 AlanG Domain Users     0 Mar 20 16:51 ..
-rwxr-xr-x  1 AlanG Domain Users 18963 Mar 11 17:59 lib4758cca.so -rwxr-xr-x
1 AlanG Domain Users 18451 Mar 11 17:59 libaep.so -rwxr-xr-x  1 AlanG Domain
Users 17427 Mar 11 17:59 libatalla.so -rwxr-xr-x  1 AlanG Domain Users  8211
Mar 11 17:59 libcapi.so -rwxr-xr-x  1 AlanG Domain Users 23059 Mar 11 17:59
libchil.so -rwxr-xr-x  1 AlanG Domain Users 22035 Mar 11 17:59 libcswift.so
-rwxr-xr-x  1 AlanG Domain Users  8211 Mar 11 17:59 libgmp.so -rwxr-xr-x  1
AlanG Domain Users 94227 Mar 11 17:59 libgost.so -rwxr-xr-x  1 AlanG Domain
Users 13843 Mar 11 17:59 libnuron.so -rwxr-xr-x  1 AlanG Domain Users  8211
Mar 11 17:59 libpadlock.so -rwxr-xr-x  1 AlanG Domain Users 27667 Mar 11
17:59 libsureware.so -rwxr-xr-x  1 AlanG Domain Users 19987 Mar 11 17:59
libubsec.so

/usr/lib/engines-1.1:
total 48
drwxr-xr-x+ 1 AlanG Domain Users     0 Mar 20 16:51 .
drwxr-xr-x+ 1 AlanG Domain Users     0 Mar 20 16:51 ..
-rwxr-xr-x  1 AlanG Domain Users  8211 Mar 11 05:52 capi.dll -rwxr-xr-x  1
AlanG Domain Users 12307 Mar 11 05:52 padlock.dll

I've attached a redacted cygcheck file.

Thanks for any advice,  Alan


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