Get the latest tech news

Fixing an old .NET Core native library loading issue on Alpine


In this post I walk through the process of solving a native library loading issue on alpine with an old .NET runtime, showing the steps we took and the solution

In this post I describe an issue I ran into at work when we were trying to test an app using Microsoft.Data.SQLite on Alpine Linux, and were running into this error: Unhandled exception. In this post I walkthrough how we solved an error running .NET Core 3.1 and .NET 5 on Alpine Linux 3.17: Unable to load shared library 'e_sqlite3' or one of its dependencies. I describe the problem itself—the failure to load the SQLite native library—the environment in which it happened, the things we tried to isolate the issue, the eventual root cause, and how we resolved it.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of alpine

alpine

Related news:

News photo

Xbox and Bethesda will sponsor Alpine this F1 weekend with Indiana Jones race cars

News photo

Alpine: A Lightweight JavaScript Framework for Minimalist Front End Development

News photo

Renault Unveils First Alpine EV With Hopes of Wooing Investors