Spring does not work on ubuntu 9.10. seems libdirectfb is in

Spring does not work on ubuntu 9.10. seems libdirectfb is in

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
User avatar
Wartender
Conflict Terra Developer
Posts: 300
Joined: 17 Jan 2009, 22:37

Spring does not work on ubuntu 9.10. seems libdirectfb is in

Post by Wartender »

Well, after an afternon on #sy, leaving auswaschbar, det, and koshi telling me i'm screwed, i've decided to post it here in hope of someone solving this eventually.

Yesterday i upgraded ubuntu to 9.10 because the latest engine was not in the 9.04 repos.

Big mistake.

After turning it on today and updating the engine and SL, SL told me it could not load my unitsync library. i checked, and the directory was fine. running the spring executable alone does nothing, with the error:

Code: Select all

spring: error while loading shared libraries: libdirectfb-1.0.so.0: cannot open shared object file: No such file or directory
i have the latest (1.2.0) libdirectfb packages, and i have no idea why spring is looking for old ones.
ldd /usr/games/spring | grep direct
tells me:

Code: Select all

libdirectfb-1.0.so.0 => not found
	libdirect-1.0.so.0 => not found
which i assume makes sense, since i have the latest version (1.2.0).

det asked me to do a bunch of things, not all of which i remember, including checking the md5 hash of my executable (which was ok).

this is basically what is going on, so if anyone can help at all, it'd be greatly appreciated.

P.S. SL doesn't see any of my maps or mods, even though they are in the correct dirs. weird.
User avatar
SpliFF
Posts: 1224
Joined: 28 Jul 2008, 06:51

Re: Spring does not work on ubuntu 9.10. seems libdirectfb is in

Post by SpliFF »

I have no idea why it's looking for this at all, Spring doesn't render to framebuffer. It's probably an SDL dependency. Any you can probably just fix it by creating a symlink for libdirectfb-1.0.so.0 -> libdirectfb-1.2.so.0 (or downgrade libdirectfb, though that may break other new software).
User avatar
Wartender
Conflict Terra Developer
Posts: 300
Joined: 17 Jan 2009, 22:37

Re: Spring does not work on ubuntu 9.10. seems libdirectfb is in

Post by Wartender »

how would i go about making the link?

and what about the unitsync and SL not finding my maps/mods?
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Spring does not work on ubuntu 9.10. seems libdirectfb is in

Post by koshi »

Wartender wrote:how would i go about making the link?
man ln
Wartender wrote:and what about the unitsync and SL not finding my maps/mods?
unitsync will be just as screwed with not found deps prolly
User avatar
Wartender
Conflict Terra Developer
Posts: 300
Joined: 17 Jan 2009, 22:37

Re: Spring does not work on ubuntu 9.10. seems libdirectfb is in

Post by Wartender »

koshi wrote:
Wartender wrote:how would i go about making the link?
man ln
where are the files i need to link?
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Spring does not work on ubuntu 9.10. seems libdirectfb is in

Post by koshi »

man locate
man find
User avatar
Wartender
Conflict Terra Developer
Posts: 300
Joined: 17 Jan 2009, 22:37

Re: Spring does not work on ubuntu 9.10. seems libdirectfb is in

Post by Wartender »

well Spliff, after making a few links (for libfusion as well), everything works.

thanks so much to everyone that helped (this thread doesn't include the entire afternoon spent on #sy)

EDIT: This pic goes to Auswaschbar, koshi, det, BD, and spliff
Image
Post Reply

Return to “Linux”