[Mono-dev] Library path bug in Makefile?
Edward Ned Harvey (mono)
edward.harvey.mono at clevertrove.com
Mon Mar 3 02:58:07 UTC 2014
I had a problem, and I figured it out, thanks to this page:
I have a system with mono built as follows:
./configure --prefix=/usr/local/mono-3.2.8 && make && echo "" && echo "Done" && echo""
sudo make install && echo "" && echo "Ok Ok Ok" && echo ""
I would expect, based on the above webpage, that the ./configure && make should have built mono using LD_RUN_PATH set to /usr/local/mono-3.2.8/lib, but apparently it doesn't - Should that be considered a bug in the Makefile?
The workaround is to specify the LD_LIBRARY_PATH on each call to mono
env LD_LIBRARY_PATH=/usr/local/mono-3.2.8/lib /usr/local/mono-3.2.8/bin/mono FunWithFooBar.exe
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list