System.DllNotFoundException: BCrypt.dll

Questions about Wine on Linux
Locked
ExpandingMan
Newbie
Newbie
Posts: 1
Joined: Mon Jan 17, 2022 6:35 pm

System.DllNotFoundException: BCrypt.dll

Post by ExpandingMan »

I'm not sure, but I think this is a windows system dll, so I'm not sure why it's missing. I'm getting this on multiple versions of wine including 7.0-rc6. I get this when trying to launch Axiom Verge 2 from the epic games store:
```
wine: configuration in L"/home/expandingman/Games/Heroic/Prefixes/Axiom-Verge-2" has been updated.
0104:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.5" not implemented
0104:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.5" not implemented
0104:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
log4net:ERROR Exception while reading ConfigurationSettings. Check your .config file is well formed XML.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'System.Configuration.AppSettingsSection' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ComponentModel.TypeDescriptor' threw an exception. ---> System.DllNotFoundException: BCrypt.dll assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) Interop+BCrypt.BCryptGenRandom(intptr,byte*,int,int)
at Interop.GetRandomBytes (System.Byte* buffer, System.Int32 length) [0x00000] in <bee01833bcad4475a5c84b3c3d7e0cd6>:0
at System.Guid.NewGuid () [0x00000] in <bee01833bcad4475a5c84b3c3d7e0cd6>:0
at System.ComponentModel.TypeDescriptor..cctor () [0x00034] in <0c924620d2cd4b85a989ca168d44cf08>:0
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationProperty..ctor (System.String name, System.Type type, System.Object defaultValue, System.Configuration.ConfigurationPropertyOptions options) [0x00000] in <a7e9c450af314440bed63c8ed183e3ee>:0
at System.Diagnostics.AssertSection..cctor () [0x00000] in <0c924620d2cd4b85a989ca168d44cf08>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <bee01833bcad4475a5c84b3c3d7e0cd6>:0
--- End of inner exception stack trace ---
```
(I can provide more of the log if needed).

Anything I can do here? Is there something else I should install on the prefix?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: System.DllNotFoundException: BCrypt.dll

Post by jkfloris »

According to the AppDB you have to install dotnet45
Locked