Latest Posts

Topic: Missing library ?

Ron
Avatar
Topic Opener
Joined: 2016-01-15, 02:31
Posts: 14
Ranking
Pry about Widelands
Posted at: 2016-02-12, 15:00

I am using bzr7817-201602120701 version and it keeps crashing on load. The terminal says it is missing libglbinding.so , where is it or is there another problem? Thanks Ron.


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2434
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2016-02-12, 16:16

Could you please post the output if you start widelands from a console? Use the syntax

~~~~
Put here the console output
~~~~

I didn't have libglbinding.so on my system and all runs fine.


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
Ron
Avatar
Topic Opener
Joined: 2016-01-15, 02:31
Posts: 14
Ranking
Pry about Widelands
Posted at: 2016-02-12, 16:53

Here the output --ron@ron-System-Product-Name ~ $ widelands widelands: error while loading shared libraries: libglbinding.so: cannot open shared object file: No such file or directory ron@ron-System-Product-Name ~ $


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2434
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2016-02-12, 17:27

Ubuntu?
How do you install widelands? Using a ppa or compiling yourself?


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
Ron
Avatar
Topic Opener
Joined: 2016-01-15, 02:31
Posts: 14
Ranking
Pry about Widelands
Posted at: 2016-02-12, 18:23

I get it from the daily ppa.


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2016-02-12, 19:18

The commit that is probably causing the problem is https://bazaar.launchpad.net/~widelands-dev/widelands/trunk/revision/7811

We changed over from glew to glbinding to help with graphics debugging. Looks like you don't have the glbinding library, or that it's not included properly.


Busy indexing nil values

Top Quote
Ron
Avatar
Topic Opener
Joined: 2016-01-15, 02:31
Posts: 14
Ranking
Pry about Widelands
Posted at: 2016-02-12, 20:09

Do I need to change ppas or get a library?


Top Quote
SirVer

Joined: 2009-02-19, 15:18
Posts: 1445
Ranking
One Elder of Players
Location: Germany - Munich
Posted at: 2016-02-12, 22:33

Yes, sorry. I broke that assuming ubuntu would pull in dependencies automatically. You need to add https://code.launchpad.net/~cginternals/+archive/ubuntu/ppa and https://code.launchpad.net/~cginternals/+archive/ubuntu/backports-ppa and install glbinding.

I will roll back the change gun linked tomorrow so that the PPA works again for everybody. I will then build a debug PPA that uses glbinding that we can use to diagnose graphic issues.


Top Quote
Ron
Avatar
Topic Opener
Joined: 2016-01-15, 02:31
Posts: 14
Ranking
Pry about Widelands
Posted at: 2016-02-12, 22:47

Thanks , Igot the file and WL works again.


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2434
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2016-02-12, 23:01

I broke that assuming ubuntu would pull in dependencies automatically.

Yes, it does, but only for dependencys in official repos. PPAs are always not official repos and have some danger in it. So some ppa may have librarys included which overwrite official librarys. For users it is always recommended to use as less ppa's as possible face-smile.png

Making a special debug ppa is a good idea face-smile.png


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote