Not logged inOpenClonk Forum
Up Topic General / Help and Questions / OpenClonk not starting on Ubuntu
- - Date 2014-03-28 01:35
Parent - - By J. J. [py] Date 2014-03-25 14:09
Ok Great! By the way the Debian version is not even starting on my Ubuntu. My commuter may not be able to run it anyway, but it should at least start right (black and then gone)?
Parent - - By Caesar [de] Date 2014-03-26 22:03
Black and gone is bad. If nothing had happened, I'd say you lack the libraries, but that is strange. Mind posting your logs?
Parent - By Matthias [de] Date 2014-03-27 00:46
(In a seperate thread, please)
Reply
Parent - - By J. J. [py] Date 2014-03-28 01:02
Nothing happened. So must be the libraries? If I were to continue this where should I post it?
Parent - By K-Pone [de] Date 2014-03-28 01:35
Either Help and Questions or Developers Corner, I would say.
Parent - - By Caesar [de] Date 2014-03-28 16:19
If you lack a library, you'll see that when launching OC from console. You can find out which libraries are missing by ldd $(which openclonk)
But if you get a short black flash, it's unlikely to be the libraries. The log is at ~/.clonk/openclonk/OpenClonk.log
Parent - - By J. J. [py] Date 2014-03-28 18:06
Ok. It is library. I'm not sure where you want this, but here is my log:

/home/jj/Games/openclonk-5.4.1/openclonk: error while loading shared libraries: libupnp.so.6: cannot open shared object file: No such file or directory
Parent - - By Caesar [de] Date 2014-03-28 18:08
apt-get install libupnp6
Parent - - By J. J. [py] Date 2014-03-28 18:14
I get this:

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Parent - By Maikel Date 2014-03-28 18:55
sudo apt-get install libupnp6 ?
Parent - By Armin [de] Date 2014-03-28 18:55
Just type in "sudo su" everytime you are going to change stuff.
Parent - - By Caesar [de] Date 2014-03-28 22:36
Hint: The solution is in what you posted.
Parent - - By J. J. [py] Date 2014-03-29 01:39
I get this now:

Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package libupnp6

Hint: If you truly know the solution please tell me the operation to solve it. ;)
Parent - - By Caesar [de] Date 2014-03-29 01:45
Hmm, I have no idea what's wrong. Maybe you don't have universe enabled or you're using some old version of ubuntu? http://packages.ubuntu.com/search?keywords=libupnp6&searchon=names&suite=all&section=all says it should be there.
All I can recommend you is trying to figure out how to install libraries on ubuntu. I'm no expert on that.
Parent - - By J. J. [py] Date 2014-03-29 01:56
I have ubuntu 12.04, but I have thought about moving to ubuntu 13.04.

I don't understand it ether. I can't even get clonk rage to work (it seems to have a library issue too). :/
Parent - - By Gamer [de] Date 2014-03-29 12:48
I'd say you try the following: go download the .deb file according to your system architecture (64 bit = amd64, 32 bit = i386) on http://packages.ubuntu.com/quantal/libupnp6 . if you're lucky you've got a graphical installer when you just double-click on the downloaded file. otherwise, go to the commandline, and do 'cd' to your download directory. (for example: cd /home/jj/Downloads/ ). do a 'ls' to list all the files, hopefully you'll see the downloaded .deb. Then do a 'dpkg -i <downloaded filename>', e.g. dpkg -i libupnp6_1.6.17-1.1ubuntu0.12.10.1_amd64.deb . you can use the tab key to autocomplete once you've typed in enough characters. press enter, and it should hopefully install the libs. then try running clonk again, maybe you're missing more libraries. (direct download for 64 bit: http://security.ubuntu.com/ubuntu/pool/universe/libu/libupnp/libupnp6_1.6.17-1.1ubuntu0.12.10.1_amd64.deb , 32 bit: http://security.ubuntu.com/ubuntu/pool/universe/libu/libupnp/libupnp6_1.6.17-1.1ubuntu0.12.10.1_i386.deb)
Parent - By Caesar [de] Date 2014-03-29 21:42
In this case it looks like it could work. In general, it is not smart to try and install packages from newer versions. (A friend just wrecked his debian by installing gcc-4.8)
Parent - - By J. J. [py] Date 2014-04-04 23:21
Is there a safer way for me to get the necessary libraries?

I am running 32 bit(i386) ubuntu 12.04.

The instructions you have are also quite complex for a less experienced ubuntu user such as myself.
I have not had any successes with compiling ubuntu libraries and software. Do you have any tips on this sort of thing?

My thanks to you(Gamer) and Caesar for helping. :)
Parent - - By Caesar [de] Date 2014-04-05 09:53

> Is there a safer way for me to get the necessary libraries?


https://launchpad.net/ubuntu/+source/libupnp, maybe.
Parent - - By J. J. [py] Date 2014-04-05 20:01
Ok I tried your way Caesar and failed to find out how to install the packages.
After that I tried Gamer's way and came closer to success, but I have an older library that is conflicting with the newer one causing it to fail to download.

What should I try now? :/

Why does update manager not install newer libraries by default or at least ask if you want to update them?
Parent - - By Gamer [de] Date 2014-04-06 13:12
could you exactly state which library conflicts with the new libupnp? On the website it says that it needs atleast libc version 2.15, if that's why it's failing, I really suggest you install the current ubuntu 13.10.  
Concerning Caesar's way: the download link to the binary file is a bit hard to find, you should need https://launchpad.net/~ubuntu-security/+archive/ppa/+build/4299122/+files/libupnp3_1.6.6-5.1ubuntu0.12.04.1_i386.deb (build for Precise Pangolin 12.04). You can try and download this file and install it in the way I described above (first try double-clicking it, it may be easier. if that's not working, get a terminal, 'cd' to the download directory, and do a dpkg -i libupnp3_1.6.6-5.1ubuntu0.12.04.1_i386.deb , watch out that you're not trying to install the .deb you downloaded before.)
Parent - By J. J. [py] Date 2014-04-17 20:33
Thanks Gamer! ;)

P.S.: I apologize for the delay. I have been busy.
Up Topic General / Help and Questions / OpenClonk not starting on Ubuntu

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill