[Slackbuilds-users] Problem with mono (and probably mono2) on Slackware64

Thomas Szteliga ts at websafe.pl
Sun Aug 9 18:56:55 UTC 2015


I've compiled KeePass
<http://slackbuilds.org/repository/14.1/misc/KeePass/> with mono
<http://slackbuilds.org/repository/14.1/development/mono/> but there was
a problem and KeePass wouldn't start:


~~~~
$ keepass
SendMessage (77594663, 0x112c, 0x4, 0x4)
SendMessage (77594657, 0x101f, (nil), (nil))
SendMessage (0, 0x1203, (nil), 0x7fff90c590e0)
SendMessage (0, 0x1204, (nil), 0x7fff90c590e0)
SendMessage (0, 0x1203, 0x1, 0x7fff90c590e0)
SendMessage (0, 0x1204, 0x1, 0x7fff90c590e0)
SendMessage (0, 0x1203, 0x2, 0x7fff90c590e0)
SendMessage (0, 0x1204, 0x2, 0x7fff90c590e0)
SendMessage (0, 0x1203, 0x3, 0x7fff90c590e0)
SendMessage (0, 0x1204, 0x3, 0x7fff90c590e0)
SendMessage (0, 0x1203, 0x4, 0x7fff90c590e0)
SendMessage (0, 0x1204, 0x4, 0x7fff90c590e0)
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 ---
~~~~


Then I found this <https://bugzilla.xamarin.com/show_bug.cgi?id=24131>
and after correcting the wrong path `/usr/lib/libMonoPosixHelper.so` to
`/usr/lib64/libMonoPosixHelper.so` in `/etc/mono/config` everything
worked as expected.


So maybe a small update to `mono.Slackbuild` will be required?


-- 
Best regards,

Thomas Szteliga
https://github.com/websafe/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.patch
Type: text/x-patch
Size: 685 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20150809/eac3209f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3712 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20150809/eac3209f/attachment.p7s>


More information about the SlackBuilds-users mailing list