LomotHo / minecraft-bedrock

a bedrock minecraft PE Server on docker (MCPE) 1M pulls🎉!
Apache License 2.0
134 stars 21 forks source link

version `GLIBCXX_xxx' not found  #37

Closed Coldsay closed 1 year ago

Coldsay commented 1 year ago

Hello,

After update to latest image today, I have the following errors when starting the container:

| stdout | /mcpe/server/bedrock_server: /lib/x86_64-linux-gnu/libpthread.so.0: version `GLIBC_2.30' not found (required by /mcpe/server/bedrock_server)

| stdout | /mcpe/server/bedrock_server: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /mcpe/server/bedrock_server)

| stdout | /mcpe/server/bedrock_server: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /mcpe/server/bedrock_server)

Running on Synology, no problems before this update

ddribin commented 1 year ago

I see the same thing on an Ubuntu 22.04 server. It works if I build a custom image from ubuntu:22.04 instead of debian:10-slim:

diff --git a/Dockerfile b/Dockerfile
index ac5e2af..535496c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -27,7 +27,8 @@ COPY ./script $SCRIPT_PATH

 ##################  for relaese  #########################
 # FROM ubuntu:18.04 as production
-FROM debian:10-slim as production
+# FROM debian:10-slim as production
+FROM ubuntu:22.04 as production

 # install packages & config docker
 RUN apt-get update && \
LomotHo commented 1 year ago

i will fix this soon

LomotHo commented 1 year ago

problem solved 🥳

Coldsay commented 1 year ago

Working perfectly now! Thanks a lot for fast correction, and globally for all your work :)

NB : don't forget to move the "latest" tag to this version !

Regards,