Page 1 of 1

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

Posted: 01 Feb 2010, 23:43
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.

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

Posted: 02 Feb 2010, 00:02
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).

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

Posted: 02 Feb 2010, 00:23
by Wartender
how would i go about making the link?

and what about the unitsync and SL not finding my maps/mods?

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

Posted: 02 Feb 2010, 00:25
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

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

Posted: 02 Feb 2010, 00:32
by Wartender
koshi wrote:
Wartender wrote:how would i go about making the link?
man ln
where are the files i need to link?

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

Posted: 02 Feb 2010, 00:41
by koshi
man locate
man find

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

Posted: 02 Feb 2010, 00:53
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