[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-2.0.0.0/bin/ 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-2.0.0.0/bin/fsi.exe could not be loaded:
     Assembly:   FSharp.Compiler    (assemblyref_index=2)
     Version:    2.0.0.0
     Public Key: a19089b1c74d0809
etc etc

and the interpreter quits

If I set
export MONO_PATH=/opt/FSharp-2.0.0.0/bin/
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
 /usr/lib/mono/2.0
 /home/<user>
 /home/<user>/local/bin/

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