# Use .net core version of the compiler

**URL:** https://talk.remobjects.com/t/use-net-core-version-of-the-compiler/27335
**Category:** Fire
**Created:** [October 9, 2022, 2:35am UTC](https://talk.remobjects.com/t/use-net-core-version-of-the-compiler/27335 "2022-10-09T02:35:17Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![JohnMoshakis](https://talk.remobjects.com/user_avatar/talk.remobjects.com/johnmoshakis/32/2286_2.png) [@JohnMoshakis](https://talk.remobjects.com/u/JohnMoshakis)
#### Post date: [October 9, 2022, 2:35am UTC](https://talk.remobjects.com/t/use-net-core-version-of-the-compiler/27335/1 "2022-10-09T02:35:17Z")

</div>

Hi,  
I was trying this out in Fire and I get

```auto
E: Internal error: System.DllNotFoundException: Unable to load shared library 'RemObjects.Elements.LLVM.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libRemObjects.Elements.LLVM.dll, 0x0001): tried: 'libRemObjects.Elements.LLVM.dll' (no such file), '/usr/local/lib/libRemObjects.Elements.LLVM.dll' (no such file), '/usr/lib/libRemObjects.Elements.LLVM.dll' (no such file), '/Users/JohnMoshakis/Documents/develop/Moshine.Foundation/libRemObjects.Elements.LLVM.dll' (no such file)

```

When compiling and in code completion.

 ![Screen Shot 2022-10-08 at 10.33.14 PM](https://talk.remobjects.com/uploads/default/original/3X/e/a/ea1682436e9992962dea3be3a7976999b4805bf5.png)

Cheers,  
John

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [October 9, 2022, 4:51pm UTC](https://talk.remobjects.com/t/use-net-core-version-of-the-compiler/27335/2 "2022-10-09T16:51:45Z")

</div>

External or internal compiler?

---

<div class="post-metadata">

### Author: ![JohnMoshakis](https://talk.remobjects.com/user_avatar/talk.remobjects.com/johnmoshakis/32/2286_2.png) [@JohnMoshakis](https://talk.remobjects.com/u/JohnMoshakis)
#### Post date: [October 9, 2022, 9:47pm UTC](https://talk.remobjects.com/t/use-net-core-version-of-the-compiler/27335/3 "2022-10-09T21:47:20Z")

</div>

Both. I have all these runtimes installed

```auto
.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.0-preview.3.22178.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.0-preview.6.22330.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.3 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.0-preview.3.22175.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.0-preview.6.22324.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

```

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [October 10, 2022, 12:12pm UTC](https://talk.remobjects.com/t/use-net-core-version-of-the-compiler/27335/4 "2022-10-10T12:12:48Z")

</div>

Reproduced. Workaround: copy `libRemObjects.Elements.LLVM.dylib` from `./Bin` to `./Bin/Core`, that should take care of it. I’ll of course fix for next week.

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [October 10, 2022, 12:18pm UTC](https://talk.remobjects.com/t/use-net-core-version-of-the-compiler/27335/5 "2022-10-10T12:18:31Z")

</div>

Logged as [bugs://E26199](https://www.remobjects.com/portal/bugs/?id=E26199).

---

<div class="post-metadata">

### Author: ![JohnMoshakis](https://talk.remobjects.com/user_avatar/talk.remobjects.com/johnmoshakis/32/2286_2.png) [@JohnMoshakis](https://talk.remobjects.com/u/JohnMoshakis)
#### Post date: [October 10, 2022, 2:06pm UTC](https://talk.remobjects.com/t/use-net-core-version-of-the-compiler/27335/6 "2022-10-10T14:06:46Z")

</div>

You meant from my Elements folder to the Core folder ? I tried that and get the same issue

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [October 10, 2022, 6:12pm UTC](https://talk.remobjects.com/t/use-net-core-version-of-the-compiler/27335/7 "2022-10-10T18:12:58Z")

</div>

> [@JohnMoshakis](#):
>
> You meant from my Elements folder to the Core folder ? I tried that and get the same issue

To the subfolder, yes. Odd.

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [October 10, 2022, 6:32pm UTC](https://talk.remobjects.com/t/use-net-core-version-of-the-compiler/27335/8 "2022-10-10T18:32:29Z")

</div>

Looks like [a.NET](http://a.NET) Core bug on non-Windows :(. I’m looking into options.

For now, renaming it to `libRemObjects.Elements.LLVM.dll` seems to do the trick, as nasty as that is.

---

<div class="post-metadata">

### Author: ![JohnMoshakis](https://talk.remobjects.com/user_avatar/talk.remobjects.com/johnmoshakis/32/2286_2.png) [@JohnMoshakis](https://talk.remobjects.com/u/JohnMoshakis)
#### Post date: [October 10, 2022, 8:34pm UTC](https://talk.remobjects.com/t/use-net-core-version-of-the-compiler/27335/9 "2022-10-10T20:34:22Z")

</div>

Thanks. That fixed it.

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [December 12, 2022, 4:03pm UTC](https://talk.remobjects.com/t/use-net-core-version-of-the-compiler/27335/10 "2022-12-12T16:03:28Z")

</div>

[bugs://E26199](https://www.remobjects.com/portal/bugs/?id=E26199) was closed as fixed.
