Menu

bcrypt.dll not found problem

2017-08-15
2020-05-22
  • Alex Sanders

    Alex Sanders - 2017-08-15

    Unable to start mc.exe - bcrypt.dll not found. Windows 2003 std rus. Mc latest (204) from zip or installer.

     
  • adamy

    adamy - 2018-07-16

    Shall investigate installtion, thx

     
  • adamy

    adamy - 2018-07-18

    bcrypt.dll is a standard sysem component, as C:\WINDOWS\SYSTEM32\BCRYPT.DLL
    Vista/2008 onways. bcrypt.dll is utilised by the ssh framework, shall consider options on older hosts.

     
  • Sam Tansy

    Sam Tansy - 2020-05-18

    Bcrypt.dll is not present on XP/2003-Server. Now, there are two options here:
    - drop the XP support, say, it's too old and change project description to not confuse people like me, that they can run it on windows less than 7.
    or
    - build libssh2.dll against other than mentioned cryptographic library, namely OpenSSL, libgcrypt or mbedTLS, as it's mentionsed on libssh2 homepage.

    PS. Newest (build216) setup does not run on XP at all.

     

    Last edit: Sam Tansy 2020-05-18
  • adamy

    adamy - 2020-05-18

    216 is built against libssh2/mbedTLS, shall need to check current dependencies.
    Currently dont have access to a XP box due to lockdown, can review at a future time.

     

    Last edit: adamy 2020-05-19
  • adamy

    adamy - 2020-05-19

    Bcrypt.lib nor Cryp32.lib are within current the link, shall push Build 217: 4.8.24 beta3 asap

     
  • adamy

    adamy - 2020-05-19

    Cofirmed no direct Bcrypt usage, only CryptGenKey,CryptGetProvParam,CryptReleaseContext which should be available on XP. Is it mc or the bundled busybox ?

     

    Last edit: adamy 2020-05-19
  • adamy

    adamy - 2020-05-20

    Can you confirm whether the issue is running or installing mc?
    As a recent upgrade of Inno Setup maybe the issue.

     
  • Sam Tansy

    Sam Tansy - 2020-05-21

    I can't run build-216 installation (mcwin32-build216-setup.exe). I can see there are no conflicting dependencies, jest dalayed but installation program will not run ("Error executing program").
    Funny thing, I managed to unpack installation with innoextract and libssh2.1.9.dll does not require bcrypt.dll and mc.exe actually runs.

    And can install build-215 (mcwin32-build216-setup.exe) but libssh2.1.8.dll is linked against bcrypt.dll so it won't start.

    Didn't try other installations.

     
  • adamy

    adamy - 2020-05-21

    Downgraded to InnoSetup 5.6: mcwin32-build217-setup.exe
    Please test, thx

     
  • Sam Tansy

    Sam Tansy - 2020-05-21

    Now it work, both, setup and app, thanks.
    I'm just testing it.

     
  • adamy

    adamy - 2020-05-22

    Great news

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.