[Issue]: Unable to load e_sqlite3 runtime on AlpineLinux #4051

Closed
opened 2026-02-07 00:20:19 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @bl4ckb0ne on GitHub (Jul 21, 2022).

Please describe your bug

Hello there, I'm the maintainer of the jellyfin package on Alpinelinux

With the 10.8.1 update there is an issue with the runtimes. I trimmed the folder to only ship the linux-musl-x64 runtimes, our package manager complains about having binaries for multiple arch. Everything was fine with 10.8.0 but now jellyfin is trying to load the runtimes from the linux-x64 folder instead. Making a symlink works as a workaround for the issue but I'd like to get it fixed.

I also have 2 other questions that are mildly relevant to the issue.

  • What is the difference between the alpine-x64 and the linux-musl-x64 runtimes? They are the exact same files.
  • Would it be possible to use the librairies provided by the system? Having the binaries prebuild seems a bit frail (like in that case).

Jellyfin Version

Other

if other:

10.8.1

Environment

- OS: Alpinelinux
Rest is not relevant to the issue

Jellyfin logs

[2022-07-20 16:31:34.359 +02:00] [INF] [4] Main: Jellyfin version: "10.8.1"                                                                                                                                                                    
[2022-07-20 16:31:34.427 +02:00] [INF] [4] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /var/log/jellyfin]"]                                                                                                                              
[2022-07-20 16:31:34.432 +02:00] [INF] [4] Main: Arguments: ["/usr/lib/jellyfin/jellyfin.dll", "--datadir", "/var/lib/jellyfin", "--cachedir", "/var/cache/jellyfin", "--logdir", "/var/log/jellyfin"]                                         
[2022-07-20 16:31:34.433 +02:00] [INF] [4] Main: Operating system: "Linux"                                                                                                                                                                     
[2022-07-20 16:31:34.434 +02:00] [INF] [4] Main: Architecture: X64                                                                                                                                                                             
[2022-07-20 16:31:34.436 +02:00] [INF] [4] Main: 64-Bit Process: True                                                                                                                                                                          
[2022-07-20 16:31:34.436 +02:00] [INF] [4] Main: User Interactive: True                                                                                                                                                                        
[2022-07-20 16:31:34.436 +02:00] [INF] [4] Main: Processor count: 2                                                                                                                                                                            
[2022-07-20 16:31:34.436 +02:00] [INF] [4] Main: Program data path: "/var/lib/jellyfin"                                                                                                                                                        
[2022-07-20 16:31:34.436 +02:00] [INF] [4] Main: Web resources path: "/usr/lib/jellyfin/jellyfin-web"                                                                                                                                          
[2022-07-20 16:31:34.436 +02:00] [INF] [4] Main: Application directory: "/usr/lib/jellyfin/"                                                                                                                                                   
[2022-07-20 16:31:34.470 +02:00] [FTL] [1] Main: Unhandled Exception                                                                                                                                                                           
System.DllNotFoundException: Unable to load shared library 'e_sqlite3' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: Error loading shared library libe_sqlite3: N
o such file or directory                                                                                                                                                                                                                       
   at SQLitePCL.SQLite3Provider_e_sqlite3.NativeMethods.sqlite3_libversion_number()                                                                                                                                                            
   at SQLitePCL.SQLite3Provider_e_sqlite3.SQLitePCL.ISQLite3Provider.sqlite3_libversion_number()                                                                                                                                               
   at SQLitePCL.raw.SetProvider(ISQLite3Provider imp)                                                                                                                                                                                          
   at SQLitePCL.Batteries_V2.Init()                                                                                                                                                                                                            
   at Jellyfin.Server.Program.PerformStaticInitialization() in /home/buildozer/aports/testing/jellyfin/src/jellyfin-10.8.1/Jellyfin.Server/Program.cs:line 272                                                                                 
   at Jellyfin.Server.Program.StartApp(StartupOptions options) in /home/buildozer/aports/testing/jellyfin/src/jellyfin-10.8.1/Jellyfin.Server/Program.cs:line 177                                                                              
   at Jellyfin.Server.Program.<Main>(String[] args)

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @bl4ckb0ne on GitHub (Jul 21, 2022). ### Please describe your bug Hello there, I'm the maintainer of the jellyfin package on [Alpinelinux](https://gitlab.alpinelinux.org/alpine/aports/-/blob/76dc4e5b6366b1b5d2ab1ffb827d4ba9640b6060/testing/jellyfin/APKBUILD) With the `10.8.1` update there is an issue with the runtimes. I trimmed the folder to only ship the `linux-musl-x64` runtimes, our package manager complains about having binaries for multiple arch. Everything was fine with `10.8.0` but now jellyfin is trying to load the runtimes from the `linux-x64` folder instead. Making a symlink works as a workaround for the issue but I'd like to get it fixed. I also have 2 other questions that are mildly relevant to the issue. - What is the difference between the `alpine-x64` and the `linux-musl-x64` runtimes? They are the exact same files. - Would it be possible to use the librairies provided by the system? Having the binaries prebuild seems a bit frail (like in that case). ### Jellyfin Version Other ### if other: 10.8.1 ### Environment ```markdown - OS: Alpinelinux Rest is not relevant to the issue ``` ### Jellyfin logs ```shell [2022-07-20 16:31:34.359 +02:00] [INF] [4] Main: Jellyfin version: "10.8.1" [2022-07-20 16:31:34.427 +02:00] [INF] [4] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /var/log/jellyfin]"] [2022-07-20 16:31:34.432 +02:00] [INF] [4] Main: Arguments: ["/usr/lib/jellyfin/jellyfin.dll", "--datadir", "/var/lib/jellyfin", "--cachedir", "/var/cache/jellyfin", "--logdir", "/var/log/jellyfin"] [2022-07-20 16:31:34.433 +02:00] [INF] [4] Main: Operating system: "Linux" [2022-07-20 16:31:34.434 +02:00] [INF] [4] Main: Architecture: X64 [2022-07-20 16:31:34.436 +02:00] [INF] [4] Main: 64-Bit Process: True [2022-07-20 16:31:34.436 +02:00] [INF] [4] Main: User Interactive: True [2022-07-20 16:31:34.436 +02:00] [INF] [4] Main: Processor count: 2 [2022-07-20 16:31:34.436 +02:00] [INF] [4] Main: Program data path: "/var/lib/jellyfin" [2022-07-20 16:31:34.436 +02:00] [INF] [4] Main: Web resources path: "/usr/lib/jellyfin/jellyfin-web" [2022-07-20 16:31:34.436 +02:00] [INF] [4] Main: Application directory: "/usr/lib/jellyfin/" [2022-07-20 16:31:34.470 +02:00] [FTL] [1] Main: Unhandled Exception System.DllNotFoundException: Unable to load shared library 'e_sqlite3' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: Error loading shared library libe_sqlite3: N o such file or directory at SQLitePCL.SQLite3Provider_e_sqlite3.NativeMethods.sqlite3_libversion_number() at SQLitePCL.SQLite3Provider_e_sqlite3.SQLitePCL.ISQLite3Provider.sqlite3_libversion_number() at SQLitePCL.raw.SetProvider(ISQLite3Provider imp) at SQLitePCL.Batteries_V2.Init() at Jellyfin.Server.Program.PerformStaticInitialization() in /home/buildozer/aports/testing/jellyfin/src/jellyfin-10.8.1/Jellyfin.Server/Program.cs:line 272 at Jellyfin.Server.Program.StartApp(StartupOptions options) in /home/buildozer/aports/testing/jellyfin/src/jellyfin-10.8.1/Jellyfin.Server/Program.cs:line 177 at Jellyfin.Server.Program.<Main>(String[] args) ``` ### FFmpeg logs _No response_ ### Please attach any browser or client logs here _No response_ ### Please attach any screenshots here _No response_ ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
OVERLORD added the bugstale labels 2026-02-07 00:20:19 +03:00
Author
Owner

@jellyfin-bot commented on GitHub (Nov 19, 2022):

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@jellyfin-bot commented on GitHub (Nov 19, 2022): This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://docs.jellyfin.org/general/getting-help.html).
Author
Owner

@bl4ckb0ne commented on GitHub (Nov 21, 2022):

Seems to be gone, I don't know if that was a dotnet issue or something else.

@bl4ckb0ne commented on GitHub (Nov 21, 2022): Seems to be gone, I don't know if that was a dotnet issue or something else.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#4051