mono.posix icon indicating copy to clipboard operation
mono.posix copied to clipboard

Using dotnet core

Open mikkeljohnsen opened this issue 3 years ago • 3 comments

Hi

I'm trying to change my project from Mono to dotnet on Linux, Windows and macOS.

I get this error on Linux:

Unable to load shared library 'intl' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libintl: kan ikke åbne delt objektfil: Ingen sådan fil eller filkatalog
   at Mono.Unix.Catalog.bindtextdomain(IntPtr domainname, IntPtr dirname)
   at Mono.Unix.Catalog.Init(String package, String localedir)

Why is the DLL not referencing the correct files on the OS ?

dotnet can not use the "Mono.Unix.dll.config" file. So how is this going to work ?

mikkeljohnsen avatar Jan 10 '22 12:01 mikkeljohnsen

If I rename "libMono.Unix.so" to "libintl.so" it works. Is that the intention ?

mikkeljohnsen avatar Jan 11 '22 16:01 mikkeljohnsen

That sounds like you might be trying to use a platform with an incompatible build of libc. What linux distro is it?

tsuckow avatar Mar 28 '22 01:03 tsuckow

That sounds like you might be trying to use a platform with an incompatible build of libc. What linux distro is it?

I had the same problem, I notice that the solution of the person who made this issue only interferes in the execution of the program, the intenationalization does not work at all. I'm using MX-Linux 23. I couldn't find the libintl.so library on the system, I only found this other file: image

Gzushgshsh avatar Dec 08 '23 01:12 Gzushgshsh