You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the error below on Linux Dedicated Server.
Using IL2CPP:
4/5 3:13:51 PM [Info] 2025-04-05T19:13:51.234Z|0x7fdf2d2bc740|DllNotFoundException: Unable to load DLL 'gilzoide-sqlite-net'. Tried the load the following dynamic libraries: Unable to load dynamic library 'gilzoide-sqlite-net' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = gilzoide-sqlite-net: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered:
Sleggie
changed the title
Unable to load DLL on Linux Dedicated Server build with IL2CPP
Unable to load DLL on Linux Dedicated Server build
Apr 5, 2025
Hey @Sleggie, thanks for the report.
Say, can you see the libgilzoide-sqlite-net.so file in your build?
If yes, there may be another error message above this one you showed with the root error, may be a "undefined symbol X" or maybe something related to the version of GLIBC that is linked to this library.
If not though, what version of Unity and what architecture are you building? We only have a prebuilt DLL for Linux for x86_64. As far as I know, Unity makes no difference between standalone builds and dedicated server builds, so the standalone DLL should be copied over and used there 🤔 But I might be wrong, I have never built Unity projects for dedicated servers.
Hey @Sleggie, thanks for the report. Say, can you see the libgilzoide-sqlite-net.so file in your build? If yes, there may be another error message above this one you showed with the root error, may be a "undefined symbol X" or maybe something related to the version of GLIBC that is linked to this library. If not though, what version of Unity and what architecture are you building? We only have a prebuilt DLL for Linux for x86_64. As far as I know, Unity makes no difference between standalone builds and dedicated server builds, so the standalone DLL should be copied over and used there 🤔 But I might be wrong, I have never built Unity projects for dedicated servers.
The libgilzoide-sqlite-net.so is indeed in the build. Also note that we are using IL2CPP, but the issue still happens with Mono.
There are no mentions of undefined symbols above it, we are using unity version 2022.3.50f1, and we are targeting x86_64 architecture.
Because of this issue, we switched to this sqlite solution: https://github.com/kdw9502/UnitySQLiteAsync which ended up working but only with Mono, not IL2CPP. Perhaps that might give a bit more insight into the issue!
Hello
I am getting the error below on Linux Dedicated Server.
Using IL2CPP:
4/5 3:13:51 PM [Info] 2025-04-05T19:13:51.234Z|0x7fdf2d2bc740|DllNotFoundException: Unable to load DLL 'gilzoide-sqlite-net'. Tried the load the following dynamic libraries: Unable to load dynamic library 'gilzoide-sqlite-net' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = gilzoide-sqlite-net: cannot open shared object file: No such file or directory
Using Mono:
4/5 3:55:40 PM [Info] 2025-04-05T19:55:40.410Z|0x7fb73e2c0740|DllNotFoundException: gilzoide-sqlite-net assembly:<unknown assembly> type:<unknown type> member:(null)
The text was updated successfully, but these errors were encountered: