-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while using Docker-Container: Error while loading shared libraries #5294
Comments
Same problem with Docker Version 2.0.0.0-mac81 (29211) (Engine: 18.09.0) and osrm/osrm-backend:latest 349bb0747a29 without further configuration. |
Please keep me informed if you make any new progress. I tried to uninstall and reinstall Docker, but it didn't help. My setup is equal to yours, I'm also working on a Mac machine. I think it would be really great to get some help by some core developers here :) |
Using tag v5.20.0 fixes the problem and i would guess that switching the image to debian (f978900) causes the issue. |
I have deployed again forcing the tag to v5.20.0 and it works fine. TAG: thanks! |
Also did the trick for me, v5.20.0 works! For anybody following up that workaround: Keep in mind that you have to use apk instead of apt-get and Shell instead of Bash. Thx @goggel :) |
Hi @patreu22 my dockerfile looks like :
and my compose file
I do admit, I m new to docker. I suppose I missed something.. |
Could you try |
it was a mistake.
instead of
and
Thanks. |
I tried with the current version( tip: I tried to create a symlink from |
It looks like the build stage installs libboost-all-dev which installs libboost 1.67, and the run stage installs libboost 1.62. |
I can't reproduce this error, I used same Dockerfile from the above.
|
I tried with following docker-compose too. I can't reproduce this issue
|
@patreu22 Did you try changing image name in the docker-compose ? It doesn't look right to me.
Because docker-compose suppose to create an image with this name, also it has the same name as the osrm image name Dockerfile.osrm pulls from docker hub. According to docker-compose#build
|
Thanks @xydinesh, fair enough that you can't reproduce the issue, but is it intentional to build with libboost 1.67 in the build stage then install 1.62 in the run stage? that seems weird. |
I also have the issue on a fresh install of my machine (docker was installed 5 min ago)
Here is the result of
Edit: i pinned the version to |
@chesty No, It was not intentional. Let's pin everything to one version. I will send a pull request with a fix. |
@xydinesh : my proposal ImreSamu@3c36326 you can resuse/adapt/drop ... ;) |
Sorry for being late. |
Hello there,
I've got the following (extract) of a Docker-compose file:
The Dockerfile.osrm looks like this:
But now the osrm-extract command is throwing an error:
We tested the same Dockerfile + Docker-compose on another machine and it works there, does anybody now how to fix it?
The text was updated successfully, but these errors were encountered: