Mojira Archive
BDS-54

Bedrock Dedicate Server on Linux won't start

$ LD_LIBRARY_PATH=. ./bedrock_server
./bedrock_server: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory

If there are external dependencies, you should provide instructions on installing those too.

Thanks.

 

Environment

I'm running Ubuntu on an Intel Core i5 CPU..

Linux Server: Ubuntu 4.4.0-79-generic
#100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Linked Issues

Comments14

Game won't load at all,also jukeboxes don't play music the name will show up but it will not play anything.

You can fix this by installing the libcurl4 package with your package manager. In ubuntu or ubuntu server run "sudo apt-get install libcurl4"

This is less-than-helpful...  I tried:

~$ sudo apt-get install libcurl4
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libcurl4

After googling for a bit, I updated my sources.list per this article:  https://www.tecmint.com/fix-unable-to-locate-package-error-in-debian-9/

Same result... Still can't locate the package.

I shouldn't have to be a Linux guru to make this work.  Please make your instructions more complete.

In what source do I find this libcurl4 library?

Thanks.

Well, it may be that you're not running it on the right flavor of Linux. I tried on CentOS, and it didn't work there. Had to run it on Ubuntu, and there it worked without issue.

The problem is that the instructions do not say what flavor of linux to run the server on.  Thanks for sharing that it runs on Ubuntu @Tanner!

I can comment that it fails to run on Alpine linux due to muslc as it's not completely glibc compatible.

 

I have been running the server in a docker container for these reasons.

Running on Ububtu 18.04 I ran the following command: `sudo apt-get install libcurl4-openssl-dev` which solved the problem for me.

Does Mojang happen to be doing anything to fix this for Centos 7? Anyone know of any functional work arounds? On the latest version, I have been able to get it to start, but it won't bind the IP / Port. One version older, and it fully works. Seems that it works out of the box on Centos 8 beta, and Arch Linux /shrug

@Innectic 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

Hi all,

I realise this is an old ticket but I'm trying to help clean up some of the older stuff. Is there any issue here still outstanding? The current supported OS's are below. Unfortunately it isn't a bug report if you are running a version below whats listed as you are running an unsupported OS.

 
Server Requirements
The Bedrock Dedicated Server software can be run on hardware that meets the following requirements.
Operating System * Windows 10, version 1703 (Creators Update) or later; Windows Server 2016 or later

    • Note: As of version 1.7.0.13, Windows 7 is no longer supported.
    • Note: As of version 1.8.0.24, Windows 8 and Windows Server 2012 are no longer supported.
  • Ubuntu 18
    • Note: Other distributions of Linux are not supported. You may need to install additional dependencies to run the server software on other distributions of Linux.

Ionic

With the release of 1.16 we now have documentation on the supported operating systems:

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

While BDS may run on other Linux distributions, bugs cannot be accepted for those platforms.

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

I had this issue today on a vanilla install  of 18.04.4 LTS.  It appears there is a dependency which is not documented

To get around this install libcurl3...

apt install libcurl3

 

History6

Kumasasa
[Mod] bemoty

Changed description:

$ LD_LIBRARY_PATH=. ./bedrock_server
0./bedrock_server: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory

0

 

0

If there are external dependencies, you should provide instructions on installing those too.

0

Thanks.

0

 

Changed environment:

I'm running Ubuntu on an Intel Core i5 CPU..

0

Linux ServerUbuntu 4.4.0-79-generic #100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

0

 

0

 

I'm running Ubuntu on an Intel Core i5 CPU..

0

Linux Server: Ubuntu 4.4.0-79-generic
0#100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

0

[Mod] bemoty
[MCPE Mod] Celesian
IonicEcko

Added labels: awaiting-system-requirements

Removed labels:

IonicEcko

Resolution: UnresolvedInvalid

Invalid
JOSEPH E LORD
3
5
awaiting-system-requirements
1.6.1.0