(Solved) Linux Installation
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: (Solved) Linux Installation
Please post the entire error message.
-
- Posts: 14
- Joined: Sat Mar 05, 2016 1:48 am
Re: (Solved) Linux Installation
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
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: (Solved) Linux Installation
Googling for that error tells me:
Generally DDNet requires everything that Teeworlds requires and additionally SDL2. So if you're missing more:
Code: Select all
apt-get install libglu1-mesa
Code: Select all
apt-get build-dep teeworlds
-
- Posts: 14
- Joined: Sat Mar 05, 2016 1:48 am
Re: (Solved) Linux Installation
So I tried to install teeworlds and this happened
So I installed it from the website and this happened when I tried to open it
So I tried to check which dependencies I'm missing
The only dependency that I'm missing is libSDL-1.2.so.0 but when I tried to install it this happened
So the dependency that I'm missing, doesn't exist? I'm not sure what to do.
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'
- Ryozuki
- Posts: 1748
- Joined: Tue Feb 24, 2015 7:28 am
- Location: Catalonia
- Player profile: http://ddnet.tw/players/Ryozuki/
- Mapper profile: http://ddnet.tw/mappers/Ryozuki/
- Clan: Unique
- Website: https://edgarluque.com
- Discord: Ryozuki#2188
Re: (Solved) Linux Installation
you are missing libfreetype, install it with:
You can also run:
Which will install all needed libs to compile ddnet (and so, also to run it)
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)
-
- Posts: 14
- Joined: Sat Mar 05, 2016 1:48 am
Re: (Solved) Linux Installation
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.
Who is online
Users browsing this forum: No registered users and 2 guests