-
Notifications
You must be signed in to change notification settings - Fork 128
"symbol not found" error in docker image running under WSL2 #20
Comments
i see the same errors with docker on ubuntu 20.04.5 LTS with Docker v 23.0.1 |
The Dockerfile is missing a c++ library. You can easily resolve this error by either:
Just if you are curious. The true error is in the beginning of the error message. So if you ever have a similiar problem this is a good way to start. But your issue will probably help other people so it is good that it came up by you. |
hey all, there was an issue with the build flags in the docker container not being set correctly. It should produce a static build which contains all of the dependency code rather than needing runtime libraries to be installed downstream. I have fixed the build issue but I have also changed behaviour in the repo so that new incremental builds are not tagged Hopefully a |
Thank you James. It works now out of the box. Hopefully other people can now easily try out your project :) |
I'm using the following docker-compose file on Docker for Desktop (WSL2), the models exist in the correct path but the container will not start.
docker-compose.yml
Downloading and running the binary manually inside WSL2 (Debian) using the same model loads without a problem.
The text was updated successfully, but these errors were encountered: