# Bug BIM-58 - IFC conversion fails (libhostfxr.so not found) (reintroduced bug)

Project: Stream BIM
Status: closed
URL: https://community.openproject.org/work_packages/BIM-58

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 13.2.1 |
| Observed in versions | 13.0.0 |
| Bug found in version (deprecated) | 13.0.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | OP Dev Titan Team |
| Designer |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Environment

OpenProject 13.0.3 / Ubuntu 22.04 package installation

Browser: Chrome

Language: English

### Steps to reproduce

1.  Go to IFC models in BFC Management project
2.  Upload an IFC file

### What is the buggy behavior?

*   User sees failed conversion status in list of IFC models

Error: Failed to convert model to json: A fatal error occurred. The re...

### What is the expected behavior?

IFC model should have been converted successfully.

### **Logs**

Error message in frontend  
  

```text
Failed to convert model to json: A fatal error occurred. The required library libhostfxr.so could not be found.
If this is a self-contained application, that library should exist in [/opt/openproject/vendor/xeokit-metadata/].
If this is a framework-dependent application, install the runtime in the global location [/usr/share/dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [/etc/dotnet].

The .NET runtime can be found at:
  - https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=ubuntu.22.04-x64&apphost_version=6.0.1
```

  
From the server logs:  
Performing Bim::IfcModels::IfcConversionJob (Job ID: 949e096d-41c5-431b-93d6-&gt;  
\[ActiveJob\] \[Bim::IfcModels::IfcConversionJob\] \[949e096d-41c5-431b-93d6-0dd0889ed67b\] user=1 Failed to convert IFC to XKT  
\[ActiveJob\] \[Bim::IfcModels::IfcConversionJob\] \[949e096d-41c5-431b-93d6-0dd0889ed67b\] Failed to convert IFC model #&lt;Bim::IfcModels::IfcModel id: 4, title: &quot;basic-b&gt;  
 If this is a self-contained application, that library should exist in \[/opt/openproject/vendor/xeokit-metadata/\].  
 If this is a framework-dependent application, install the runtime in the global location \[/usr/share/dotnet\] or use the DOTNET\_ROOT environment variable to specify the runtime location or register the runtime lo&gt;  
 - https://aka.ms/dotnet-core-applaunch?missing\_runtime=true&amp;arch=x64&amp;rid=ubuntu.22.04-x64&amp;apphost\_version=6.0.1
