Mojira Archive
BDS-168

/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found while starting server

I am using debian 9.5 and getting below error while starting server
root@vmii:/data/bedrock# LD_LIBRARY_PATH=. ./bedrock_server
./bedrock_server: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by ./bedrock_server)

could you please suggest me on this?

Linked Issues

Attachments2

minecraft_libs.zip

Anatoly Sokolov

upgradelibc6.png
upgradelibc6.png

Sibin

Comments14

I have notices that its happening for new version `1.7.0.13`

You can use the libc6 from the debian testing release...

Just do the following as root:

#echo 'deb http://ftp.debian.org/debian/ buster main' >> /etc/apt/sources.list

#apt-get update

#apt-get -t buster install libc6

Answer the question with yes... and after the installation is finished start the server as usual

 

getting above error while upgrading  since we are using openvz kernel 2.6

This collection of libraries helped for me on Ubuntu 16.04

Just put it to the root dir of server

minecraft_libs.zip

Still not working for me :/

I have personally gotten this working on centos. It just seems the sockets don't open for some reason tho on 1.10 for me. 1.8 and 1.9 work tho.
With the help from the above libs folder here is the steps I did on CentOS 7.

Step 1

yum groupinstall 'Development Tools' -y
yum install gcc gcc-c++ make curl openssl openssl-devel wget sudo vim -y
yum upgrade -y

Step 2

wget http://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.gz
tar zxvf glibc-2.18.tar.gz
cd glibc-2.18
mkdir build
cd build
../configure --prefix=/opt/glibc-2.18
make -j4
make install
export GLIBC_PATH=/opt/glibc-2.18/lib
cd ../..

Step 3 - Replace version if you want to see a working server. Example replace 1.10.0.7 with 1.9.0.15

mkdir bedrock
cd bedrock
wget https://minecraft.azureedge.net/bin-linux/bedrock-server-1.10.0.7.zip
unzip bedrock-server-1.10.0.7.zip

wget https://bugs.mojang.com/secure/attachment/197928/197928_minecraft_libs.zip

unzip 197928_minecraft_libs.zip

Step Run

PATH=/opt/glibc-2.18/bin:$PATH LD_LIBRARY_PATH=.:/opt/glibc-2.18/lib:/usr/lib64:/usr/lib /opt/glibc-2.18/lib/ld-linux-x86-64.so.2 ./bedrock_server

You can use Docker to run the server in a container on any flavor of Linux. I made a quick blog post explaining how here:

http://jayd.ml/minecraft/2019/05/16/bedrock-server-docker.html

I have been using the zip provided by Anatoly with success, but the most recent update seems to have made it outdated:

 

./lib/libcrypto.so.1.1: version `OPENSSL_1_1_1' not found (required by ./libCrypto.so)

 

Does anyone happen to have an updated zip, or can anyone tell me how this zip was made? I can't figure out how to ping the original provider of the zip. 

I'm on Ubuntu 16.04.6 ... pretty vanilla flavor of Linus, really. With all due respect, it's a shame this is so hard to get running. I wonder if it'd be possible to statically link or something? 

Thanks for any help you can give, we have been having fun with a useable, free shared world on Bedrock!

Hi Sibin,

Did you get this sorted?

Ionic

I've not heard back from you in a while.

In order to keep the Bedrock Dedicated Server project running smoothly I'm going to request this issue be closed as Awaiting Response.

Never fear though! If this is still affecting you in the latest version (and is related to Bedrock Dedicated Server and not the Minecraft Bedrock game) all you have to do is comment and it will reopen.

If your issue does still exist but is related to the game and not the server software please head over to the Minecraft (Bedrock codebase) project.

Ionic

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 BDS Wiki – 📖 FAQs

Hello IonicEcko,

 

I am still expericing the same problems after working through the steps provided by Cameron, I was unable to get bedrock server to properly recognize the installation of glibc in /opt/glibc-2.18.

I noticed another request was closed as a duplicate of this issue, but there is no actual resolution.

 

With the introduction of 1.16 we now have a list of supported operating systems (below). I've not been able to reproduce this on a Ubuntu 18+ or Windows 10/Windows Server install.

  • Windows 10 1703 or later
  • Windows Server 2016 or later
  • Ubuntu 18 or later

If you are still having this issue and you are running a supported OS please comment back and the report will reopen.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

History16

Sibin

Added labels: server

Removed labels:

Sibin

Changed environment:

I am using debian 9.5 and getting below error while starting server
0root@vm606735-service1961:/data/service1961/data/service_item_813930/bedrock# LD_LIBRARY_PATH=. ./bedrock_server
0./bedrock_server: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by ./bedrock_server)

0

could you please suggest me on this?

I am using debian 9.5 and getting below error while starting server
0 root@vmii:/data/bedrock# LD_LIBRARY_PATH=. ./bedrock_server
0 ./bedrock_server: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by ./bedrock_server)

0

could you please suggest me on this?

Sibin

Added attachment:

[Mod] bemoty

Added description:

I am using debian 9.5 and getting below error while starting server
root@vmii:/data/bedrock# LD_LIBRARY_PATH=. ./bedrock_server
./bedrock_server: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by ./bedrock_server)

could you please suggest me on this?

Removed environment:

I am using debian 9.5 and getting below error while starting server
root@vmii:/data/bedrock# LD_LIBRARY_PATH=. ./bedrock_server
./bedrock_server: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by ./bedrock_server)

could you please suggest me on this?

Added labels:

Removed labels: server

[Mod] bemoty
[Mod] bemoty
Anatoly Sokolov

Added attachment:

[Mod] OcelotOnesie
IonicEcko

Added labels: awaiting-response awaiting-system-requirements

Removed labels:

[MCPE Mod] Celesian
[Bot] Arisa
IonicEcko
[Mojang] Mega_Spud (Jay Wells)
[Mojang] Mega_Spud (Jay Wells)

Resolution: UnresolvedIncomplete

Incomplete
Sibin
6
6
awaiting-response awaiting-system-requirements
1.6.1.0