Related post: Upgrade libc6 to 2.15?
The issue here is that the PHP binaries now being released by Pocketmine now requires a newer version of a library, GLIBC
. It looks like they need to be updated. Following the instructions on the linked Stackoverflow page, I was able to get it updated and make more progress.
However, I’m going to preface these instructions with right now, it seems like Pocketmine and Imagicalmine just dont work.
Here’s what I did to get the libraries updated: (as root
)
echo "deb http://ftp.debian.org/debian sid main" >> /etc/apt/sources.list.d/sources.list
apt-get update
apt-get -t sid install libc6
sed -i '$ d' /etc/apt/sources.list.d/sources.list
Now, the PHP binaries that Pocketmine-php downloads works. That doesn’t mean the servers work though. Running ImagicalMine:
mc@core servers/asdf$ ./bin/php5/bin/php ImagicalMine.phar
Warning: require_once(phar:///var/games/minecraft/servers/asdf/ImagicalMine.phar/src/pocketmine/PocketMine.php): failed to open stream: phar "/var/games/minecraft/servers/asdf/ImagicalMine.phar" has a broken signature in /var/games/minecraft/servers/asdf/ImagicalMine.phar on line 1
Fatal error: require_once(): Failed opening required 'phar:///var/games/minecraft/servers/asdf/ImagicalMine.phar/src/pocketmine/PocketMine.php' (include_path='.:') in /var/games/minecraft/servers/asdf/ImagicalMine.phar on line 1
Focusing on the ImagicalMine.phar" has a broken signature
, this isn’t a MineOS issue…it’s an ImagicalMine issue
And Pocketmine 1266–the version that is closest to matching your version of Minecraft on your tablet?..doesn’t download. The Pocketmine 980 build is too old if you’ve updated Minecraft on your tablet since June, 2015.
So right now, at the time of this writing, there are zero Minecraft PE solutions that I know of that will work. When new builds come out, perhaps, we can see some progress and it will be worth going through these steps. In the meantime, however, it doesn’t seem like there’s a good avenue.
Last thoughts: there’s certainly a chance that downloading any of the other builds Pocketmine offers and placing them in your server directory will work–after all, we fixed the GLIBC/PHP issue, but I have only tried with these three particular builds. YMMV.