Re: (Solved) Linux Installation
Posted: Fri May 19, 2017 7:58 am
Please post the entire error message.
deen wrote:Please post the entire error message.
Code: Select all
~/Desktop/DDNet-10.4.3-linux_x86$ ./DDNet
./DDNet: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
Code: Select all
apt-get install libglu1-mesa
Code: Select all
apt-get build-dep teeworlds
Code: Select all
$ sudo apt-get build-dep teeworlds
[sudo] password for hershel:
Reading package lists... Done
E: Unable to find a source package for teeworlds
Code: Select all
~/Documents/teeworlds-0.6.4-linux_x86$ ./teeworlds
./teeworlds: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory
Code: Select all
~/Documents/teeworlds-0.6.4-linux_x86$ ldd ./teeworlds
Code: Select all
$ sudo apt-get install libSDL-1.2
[sudo] password for hershel:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libSDL-1.2
E: Couldn't find any package by glob 'libSDL-1.2'
E: Couldn't find any package by regex 'libSDL-1.2'
sudo apt install libfreetype6
sudo apt-get install libsdl2-dev libfreetype6-dev libcurl4-openssl-dev libogg-dev libopus-dev libopusfile-dev bam
Ok so I installed that and got the same error as before when trying to compile DDNet.Ryozuki wrote:you are missing libfreetype, install it with:sudo apt install libfreetype6
You can also run:
sudo apt-get install libsdl2-dev libfreetype6-dev libcurl4-openssl-dev libogg-dev libopus-dev libopusfile-dev bam
Which will install all needed libs to compile ddnet (and so, also to run it)
Code: Select all
~/Desktop/DDNet-10.4.3-linux_x86$ ./DDNet
./DDNet: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory
Code: Select all
$ sudo apt install libfreetype6
[sudo] password for hershel:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libfreetype6 is already the newest version (2.6.1-0.1ubuntu2.3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.