[MonoDevelop] Monodevelop 4.2.3 fails to build following exception loading Mono.Unix.Native

Robin Neatherway robin.neatherway at gmail.com
Tue Jan 14 11:48:46 UTC 2014

I failed to reply to the list yesterday, so for anyone else who hits
the problem:

I used a non-standard prefix (the same one) for both installations as
I do not have root on this machine. I can confirm that setting
LD_LIBRARY_PATH to the folder containing libMonoPosixHelper.so also
solves the issue.

As suggested by Andrés, using `make run` to launch monodevelop from
the build directory also works.

It was a bit surprising to me that LD_LIBRARY_PATH was required,
because I did not consider the native libraries that must sit between
managed interfaces and the OS libraries.

On Mon, Jan 13, 2014 at 4:11 PM, "Andrés G. Aragoneses"
<knocte at gmail.com> wrote:
> How did you install mono(prefix?) and how did you install
> monodevelop(prefix?)? If you used a non-standard prefix you may need to
> set LD_LIBRARY_PATH accordingly for P/Invokes to work.
> On 13/01/14 16:48, Robin Neatherway wrote:
>> I am running mono 3.2.5 and monodevelop 4.2.3, both compiled from source.
>> ...
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list

More information about the Monodevelop-list mailing list