No native lib for SQLite found for OS : Linux - Pterodactyl / Docker
In resume, I'm using Pterodactyl to self host my BetterMinecraft 3 Fabric server.
When using the base Java 21 Image (provided by Pterodactyl Team) it does'nt work, and crash with this message (will be sent later on)
So i've tried to make my own docker image based on theirs and install libsqllite3-dev + sqllite3 package.
However the same error occurs.
Any idea?

6 Replies
My Image with the libs
It might be more related to java than Distan Horizon but if anyone as an idea i'm welcome to it !
Solution
You'll probably have more luck googling the issue
Is this related or is this a different issue? https://github.com/orgs/dbeaver/discussions/13842#discussioncomment-1300132
GitHub
Cannot connect to SqLite due to "No native library found for os.nam...
System information: Windows 10 Enterprise Version 1909 DBeaver Community version 21.2.0 Additional extensions sqlite-jdbc-3.36.0.3.jar Connection specification: Sqlite 3.36.0 (newest) sqlite-jdbc-3...
Might be related, will try the fix and get back to you
Seems to be that, on Pterodactyl the User the container is run as does not seem to have access to /tmp/
Creating a tmp inside the mc server and pointing it with
JAVA_ARGS="-Xmx8G -Xms4G -Dorg.sqlite.tmpdir=/home/container/tmp"
/home/container/tmp
Fix the issue