[Mono-list] lib and exec path confusion

Rustom Mody rustompmody at gmail.com
Tue Jan 18 01:00:22 EST 2011

[mono on linux]
Install f#

I go inside the FSharp- and execute fsi.exe I get a prompt and
can execute basic f# expressions

I now make a (soft) link from somewhere to fsi.exe
If I execute that I get:

WARNING **: The following assembly referenced from
/opt/FSharp- could not be loaded:
     Assembly:   FSharp.Compiler    (assemblyref_index=2)
     Public Key: a19089b1c74d0809
etc etc

and the interpreter quits

If I set
export MONO_PATH=/opt/FSharp-
then I get a prompt and then I get (after a second or 2)

/home/<user>/unknown(1,1): error FS0078: Unable to find the file
'FSharp.Core.dll' in any of

Even more strange I point to fsi from inside emacs (with fsharp mode loaded)
and it works!

Can someone give me some tips on what it means for a windows executable to
execute under linux?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110118/08128ccb/attachment.html 

More information about the Mono-list mailing list