Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100871 - Dosbox fails to start because of DirectFB
Summary: Dosbox fails to start because of DirectFB
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL: http://dosbox.sf.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-31 02:54 UTC by Matija "hook" Šuklje
Modified: 2005-08-02 23:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matija "hook" Šuklje 2005-07-31 02:54:24 UTC
When I run dosbox, it fails immediatly.  
  
Steps for reproduction:  
1. $ dosbox  
  
error output:  
dosbox: error while loading shared libraries: libdirectfb-0.9.so.20: cannot  
open shared object file: No such file or directory  
  
package versions:  
dosbox-0.63  
libsdl-1.2.8-r1  
DirectFB-0.9.22  
  
A simple slocate search shows that there are still present files from directfb  
0.9.20 and 0.9.21, although they are not in portage. Even --clean and --prune  
don't show any other DirectFB versions then 0.9.22. 
 
Should I just remove the 0.9.20 and 0.9.21 files or is there a better solution.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-07-31 06:36:10 UTC
Sounds like you need to run revdep-rebuild
Comment 2 Matija "hook" Šuklje 2005-08-01 05:14:17 UTC
Oh, dear god, please no!  
  
I think my whole revdep-rebuild would take on days! No idea why, exactly, but I 
think at some point I've been playing with the USE flags too much, or 
something. 
 
Anyhow, thanks for the tip, I'll try to revdep-rebuild dosbox 
Comment 3 SpanKY gentoo-dev 2005-08-01 07:17:34 UTC
just re-emerge libsdl and directfb
Comment 4 Matija "hook" Šuklje 2005-08-01 07:41:31 UTC
Thanks for the tip, Spanky, but it didn't work (I'm pretty sure I tried it 
before). 
 
So, I'll just let revdep-rebuild dosbox run for the 7 hours it wants O_o over 
the night, and if that still doesn't work, I'm just hand-removing those older 
lib files. 
 
...god, I hate revdep-rebuild :( 
Comment 5 SpanKY gentoo-dev 2005-08-01 07:47:45 UTC
oh, you'll also have to re-emerge dosbox itself
Comment 6 Matija "hook" Šuklje 2005-08-01 08:12:29 UTC
I did that too (the second time round, this time) - it didn't work. 
 
In /usr/lib/ I have the following entries (amongst others, of course): 
directfb-0.9.20/ 
directfb-0.9.21/ 
directfb-0.9.22/ 
libdirectfb.so 
libdirectfb.la 
libdirectfb-0.9.so.22.0.0 
libdirectfb-0.9.so.22 
Comment 7 Matija "hook" Šuklje 2005-08-01 22:33:43 UTC
revdep-rebuild worked :] 
 
well, actually this worked: 
1)# revdep-rebuild -p dosbox 
2)manually edit the emerge line given by revdep-rebuild, removing from it a few 
illogical packages wanted (like an outdated kdelibs and kdebase), changing all 
the other packages to packages instead of specific versions (some didn't exist 
anymore in portage) 
 
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-08-02 07:26:23 UTC
From your comments and descriptions, it sounds like you're not doing the
on-going maintenance of your system.  Not running revdep-rebuild regularly
is just asking for trouble.  Having "outdated kdelibs and kdebase" around
seems like it will probably cause problems for you in the future as well.
You need to maintain your system if you expect it to work well.
Comment 9 Matija "hook" Šuklje 2005-08-02 07:43:58 UTC
No, no, the thing is that my KDE is the latest stable (3.4.1), it's just a 
revdep-rebuild which claimed it needed to re-emerge a 3.3 package. 
 
Anyway, I'll try to do all the revdep-rebuild in the next dew days that I've 
skipped so far.  
 
It just never occured to me that regular revdep-rebuild'ing is necessary :( I 
didn't want to neglect my system... 
 
BTW, is it ok to just run  
# revdep-rebuild 
or do I have to use all the --soname <libs>? 
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2005-08-02 07:47:08 UTC
revdep-rebuild by itself should be fine.
Comment 11 Matija "hook" Šuklje 2005-08-02 23:29:32 UTC
Thanks, 
 
I think I've gotten it to work now.