mono: error running custom app via mono on linux RH
When I try to launch my C# application on our red hat enterprise system via the .NET emulator known as mono (v2.5.2), I get the following error:
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/lib/mono/2.0/mscorlib.dll' directory.
I have installed mono in another location than the one mentioned in the error message and I do see the mscorlib.dll in that location so my question is:
How does mono resolve that location and can I configure mono to find it where it's at?
Thanks in advance for any help on this.
Would this be the windoze version of LD_LIBRARY_PATH?
I'm thinking it is but I don't know the windoze equivalent.
I've tried a number of things that the mono web site and other google results suggested but to no avail.
Again, any help is appreciated!
kirk5000 you probably already know this but
you might want to port that code off the MS only language C# to a normal everyday language C++
mono dose NOT support all the Microsoft c# API's
mono is in the RHN repo
the RECOMMENDED way is to use yum
you might want to ask red hat
the documentation for RHEL 6 and the older 5
do a search of the Red hat knowledge base for "mono"
you WILL need to log in to your rhn account to use the knowledge base
The target machine is a company resource
mono was installed from the source code via configure make install with the appropriate --prefix option.
if your system admin can NOT install it from RHN you might be out of luck
I would get the administrator to install the correct version for mono from RHN for this version of RHEL
|All times are GMT -5. The time now is 04:23 AM.|