I installed mono using sbopkg and found the following issue while trying to run keepass:
[cceN_bash]
System.TypeInitializationException: An exception was thrown by the type initializer for Mono.Unix.Native.Syscall —> System.DllNotFoundException: /usr/lib/libMonoPosixHelper.so
at (wrapper managed-to-native) Mono.Unix.Native.Syscall:get_at_fdcwd ()
at Mono.Unix.Native.Syscall..cctor () [0x00000] in <filename unknown>:0
— End of inner exception stack trace —
[/cceN_bash]
The fix was to edit [cci]/etc/mono/config[/cci] and remove the [cci]/usr/lib/[/cci] path from the [cci]libMonoPosixHelper.so[/cci] definition so that it looks like this:
[cceN_xml]
<dllmap dll=”MonoPosixHelper” target=”libMonoPosixHelper.so” os=”!windows” />
[/cceN_xml]