[Mono-list] cannot run Mono with different lib path

Philip Chan comphilip at msn.com
Fri Jun 10 12:13:19 EDT 2011

I registered a Shell Account on a free FreeBSD server. Mono is not installed in server by default. Users can use installation utility to install extra applications under their home folders.

So after installing Mono, Mono files are in ~/bin, ~/lib and so on. Extra PATH is added to PATH environment variable. And LD_LIBRARY_PATH is set to path of ~/lib.

But when I use Mono to run an exe, mscorlib.dll not found:
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/local/lib/mono/2.0/mscorlib.dll' directory.

Mono should load mscorlib.dll in ~/lib/mono/2.0/mscorlib.dll.

How can I tell Mono the paths are changed?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110611/87b4d681/attachment.html 

More information about the Mono-list mailing list