[BDS-168] /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found while starting server Created: 18/Oct/18  Updated: 29/Jan/21  Resolved: 29/Jan/21

Status: Resolved
Project: Bedrock Dedicated Server
Affects Version/s: 1.6.1.0
Fix Version/s: None

Type: Bug
Reporter: Sibin Assignee: Unassigned
Resolution: Incomplete Votes: 6
Labels: awaiting-response, awaiting-system-requirements

Attachments: Zip Archive minecraft_libs.zip     PNG File upgradelibc6.png    
Issue Links:
Duplicate
is duplicated by BDS-173 /lib64/libm.so.6: version `GLIBC_2.27... Resolved
Relates
relates to BDS-54 Bedrock Dedicate Server on Linux won'... Resolved
relates to BDS-3141 Missing doco for System Requirements Resolved

 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?



 Comments   
Comment by [Mojang] Mega_Spud (Jay Wells) [ 29/Jan/21 ]

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

Comment by IonicEcko [ 24/Jun/20 ]

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

Comment by Null Panda [ 05/May/20 ]

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.

Β 

Comment by IonicEcko [ 22/Mar/20 ]

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

Comment by IonicEcko [ 04/Mar/20 ]

Hi Sibin,

Did you get this sorted?

Ionic

Comment by Nathan Wolf [ 10/Jul/19 ]

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!

Comment by Jayden Milne [ 16/May/19 ]

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

Comment by Cameron Weaver [ 01/Apr/19 ]

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

Comment by MichaΕ‚ Tomecki [ 13/Feb/19 ]

Still not working for me :/

Comment by Anatoly Sokolov [ 05/Feb/19 ]

This collection of libraries helped for me on Ubuntu 16.04

Just put it to the root dir of server

minecraft_libs.zip

Comment by Sibin [ 19/Oct/18 ]

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

Comment by Sibin [ 19/Oct/18 ]

Comment by Liox Lioxen [ 18/Oct/18 ]

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

Β 

Comment by Sibin [ 18/Oct/18 ]

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

Generated at Sat Jan 11 07:13:07 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.