Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,334
Rep:
How to install mono?
Has anyone ever successfully install this?
I'm trying to install it but pulling my hair out.
It keeps saying it wants this libexif.so.9 file yet it EXISTS. It refuses to go further. Isin't yum suppose to take care of that? I don't understand why it's giving met this trouble.
Quote:
[root@destard lib]# yum install mono
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package mono-core.i586 0:1.9.1-2.novell set to be updated
--> Processing Dependency: libgdiplus0 for package: mono-core
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package libgdiplus0.i386 0:1.9-1.rhel4.novell set to be updated
--> Processing Dependency: libexif.so.9 for package: libgdiplus0
--> Finished Dependency Resolution
Error: Missing Dependency: libexif.so.9 is needed by package libgdiplus0
[root@destard lib]#
If I try to install libgdiplus I get the same error. Whats going on? I thought yum was supose to automatically resolve dependencies.
Last edited by Red Squirrel; 01-24-2009 at 03:10 PM.
A bit strange it didn't install a dependacy, maybe the mono installer is out of shift for FC7 since FCs tend to come out like every 6 months. might be worth a try on a newer version of FC first if you are unable to install the dependancies via yum. CentOS is great for servers but not so great for desktops, can still work for desktops but setting up simple things like mp3 codecs are quite alot harder on CentOS for example, it's more geared towards being a server since it's a direct RHEL clone.
Tried everything there, no go. I'm really at loss. IS there another distro I could try? I'm open to any distro as this box will be pretty much dedicated to running a .net application.
Or should I just rewrite the application in C++? Would that be easier? (about 500k lines of code or so)
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,334
Original Poster
Rep:
Ok got it working, I was actually suppose to NOT use the mono provided repository.
Not sure if this is mono specific or specific to the app I'm compiling but I get this error:
Code:
Unhandled Exception: System.IndexOutOfRangeException: Array index is out of range.
at Mono.CSharp.TypeManager.UnifyType (System.Type pt, System.Type at, System.Type[] inferred) [0x00000]
at Mono.CSharp.TypeManager.UnifyTypes (System.Type[] pts, System.Type[] ats, System.Type[] inferred) [0x00000]
at Mono.CSharp.TypeManager.UnifyType (System.Type pt, System.Type at, System.Type[] inferred) [0x00000]
at Mono.CSharp.TypeManager.InferTypeArguments (System.Type[] param_types, System.Type[] arg_types, System.Type[] inferred_types) [0x00000]
at Mono.CSharp.TypeManager.InferTypeArguments (Mono.CSharp.EmitContext ec, System.Collections.ArrayList arguments, System.Reflection.MethodBase& method) [0x00000]
at Mono.CSharp.MethodGroupExpr.OverloadResolve (Mono.CSharp.EmitContext ec, System.Collections.ArrayList Arguments, Boolean may_fail, Location loc) [0x00000]
at Mono.CSharp.MethodGroupExpr.OverloadExtensionResolve (Mono.CSharp.EmitContext ec, System.Collections.ArrayList& arguments, Mono.CSharp.MethodGroupExpr& mg, Mono.CSharp.Expression expr, Location loc) [0x00000]
at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags flags) [0x00000]
at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Return.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext anonymous_method_host, Mono.CSharp.ToplevelBlock block, Mono.CSharp.Parameters ip, IMethodData md, System.Boolean& unreachable) [0x00000]
at Mono.CSharp.EmitContext.EmitTopBlock (IMethodData md, Mono.CSharp.ToplevelBlock block) [0x00000]
at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace parent) [0x00000]
at Mono.CSharp.Method.Emit () [0x00000]
at Mono.CSharp.TypeContainer.EmitType () [0x00000]
at Mono.CSharp.RootContext.EmitCode () [0x00000]
at Mono.CSharp.Driver.MainDriver (System.String[] args) [0x00000]
at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]
Could someone point me in right direction as to where I should look to try and debug this? No line errors or anything make it rather hard.
This would probably be better posted at the mono forums but their forums are broken. Can't register there for some reason. Keeps saying the auth code is wrong even though I type it in exactly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.