Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: Lee on December 09, 2013, 10:47:15 PM
-
I think dosbox.tcz should have sdl-sound.tcz added to its .dep file.
-
Why? DOS does not require sound.
-
When I load dosbox.tcz, which nominally depends only on sdl.tcz and libmad.tcz and try to run it from its icon, nothing appears to happen.
When I run dosbox from the command line I get the following message:
dosbox: error while loading shared libraries: libSDL_sound-1.0.so.1: cannot open shared object file: No such file or directory
and dosbox exits.
A "provides" search in apps reveals that only sdl-sound.tcz provides the missing file and indeed dosbox works as expected when sdl-sound.tcz is loaded.
All of the above is in Core 4.7.7 and referencing the 4.x repo at tinycorelinux.net.
---
As for DOS not requiring sound, that's the silly part. I pulled out a nicely organized collection of software that I had packaged up about fifteen years ago (and it was all old even then) and NONE of it uses sound at all (or at least none of it -requires- sound). Lotus 123, dBASE III Plus, WordPerfect5.1, Clipper development, Turbo C++ development, epsilon, etc. The whole DOS environment (sans games)... not really what you'd call "sound intensive" stuff.
I remembered running dBASE on a 300 MHz celeron in the late 1990's and thinking how quick it seemed - then I thought hmmm... things are several times faster now -and- I could have the whole mess in RAM. I had to try it out.
-
That makes perfect sense, but is it dosbox or SDL that is missing the dep?
-
I'm not sure, but I just did another test, in a vm this time (previously was on real iron) and I had to load libasound, libogg and libvorbis before dosbox would run.
I'll do a base/norestore test in a few minutes and post the results.
Edit:
After rebooting the vm with base and norestore, I had to load X (Xlibs, Xprogs, Xvesa, jwm and wbar) and:
sdl-sound.tcz
libasound.tcz
libogg.tcz
libvorbis.tcz
I suspect you are right that sdl-sound.tcz, libasound.tcz, libogg.tcz and libvorbis.tcz should be deps od SDL.tcz rather than of dosbox.tcz.
-
Easy to check. ldd /path/to/libSDL.so and ldd dosbox.
-
Hi Lee
Seems this problem has been identified before:
http://forum.tinycorelinux.net/index.php/topic,10788.msg56882.html#msg56882
And in this instance you were involved:
http://forum.tinycorelinux.net/index.php/topic,12492.msg67676.html#msg67676
-
Well, don't I feel sheepish? Looks like those 2011 and 2012 brain cells were swapped out some time in 2013. ::)
Shouldn't dosbox.tcz.dep be updated per maro's post?
-
Hi Lee
Yeah, well time marches on, memories fade, .............. what was I talking about again?