Mono.Unix.Native.Syscall ---> System.EntryPointNotFoundException: Mono_Posix_Syscall_get_at_fdcwd
The solution turned out to be adding the following switch to MONO's autogen script:
--libdir=/usr/lib64
My whole compilation script was:
#!/bin/sh
cd /home/jmd/monoFoka/
./autogen.sh --prefix=/usr --libdir=/usr/lib64
make
make install
The whole body of the exception:
System.TypeInitializationException: An exception was thrown by the type initializer for Mono.Unix.Native.Syscall ---> System.EntryPointNotFoundException: Mono_Posix_Syscall_get_at_fdcwd
at (wrapper managed-to-native) Mono.Unix.Native.Syscall:get_at_fdcwd ()
at Mono.Unix.Native.Syscall..cctor () [0x0000a] in /home/user/mono/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs:2168
--- End of inner exception stack trace ---
at MonoDevelop.Core.LoggingService.RedirectOutputToFileUnix (FilePath logDirectory, System.String logName) [0x0001f] in /home/abuild/rpmbuild/BUILD/monodevelop-3.0.6/src/core/MonoDevelop.Core/MonoDevelop.Core/LoggingService.cs:177
at MonoDevelop.Core.LoggingService.RedirectOutputToLogFile () [0x00046] in /home/abuild/rpmbuild/BUILD/monodevelop-3.0.6/src/core/MonoDevelop.Core/MonoDevelop.Core/LoggingService.cs:140
No comments:
Post a Comment
If you like this post, please leave a comment :)