mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #143] [Issue]: Missing OpenSSL (libssl3) - Docker #41
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Talref on GitHub (Apr 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/143
Summary
The Docker image is missing OpenSSL 3 runtime libraries (
libssl.so.3,libcrypto.so.3), causing the llama sidecar to fail at startup.Expected behavior
The sidecar (
llama-server) should start successfully when the container is launched.Actual behavior
The sidecar exits immediately with:
Exit code: 127
Steps to reproduce
Additional details:
Base image: Debian 12 (bookworm)
libssl3is not installed in the containerRunning
ldd llama-servershows:Workaround:
Installing
libssl3inside the container resolves this specific error.Environment
@Talref commented on GitHub (Apr 20, 2026):
Additional finding:
The image is also missing
libgomp1, which is required by the ggml CPU backend.After installing only
libssl3, the sidecar still fails during model loading with:Running
lddon the CPU backend shows:Installing both dependencies resolves the issue completely:
After this, the sidecar starts and loads the model correctly, e.g.:
Conclusion:
The container image is missing required runtime dependencies (
libssl3,libgomp1) needed by the bundled llama sidecar.@Talref commented on GitHub (Apr 20, 2026):
After resolving the missing runtime dependencies, there is still an issue with how the sidecar startup is orchestrated.
The startup logic always includes a GPU-first attempt:
This means that
gpuLayers: 999is always attempted, regardless of runtime, andCPU fallback (gpuLayers: 0)is only added conditionally.In the distributed Docker image the runtime is CPU-only (*-linux-x64-cpu), no GPU backend libraries are present.
Despite that the sidecar is still launched with
-ngl 999, this flag alone is not the problem though, since llama can fall back to CPU usage automatically (tested in the container), but the startup arguments also include-sm none. From testing, this flag appears incompatible with CPU-only execution in this context, when combined with -ngl values, it fails to load llama.cpp.I've managed to run llama building an image locally, but even if it's loaded and the port is busy I can't curl it properly. I'll make more tests when I have more time and update the issue. I won't be able to do a PR though, but I'll try to suggest a fix.
@ghost commented on GitHub (Apr 20, 2026):
Taking a look right now! Ty for the report
@ghost commented on GitHub (Apr 20, 2026):
I believe this should already be fixed in the latest push to main (not 1.5.2 but an upcoming release)
@SpicyMarinara commented on GitHub (Apr 20, 2026):
Yes, this is already addressed.