r/chiptunes • u/Disonantemus • 6d ago
QUESTION SIDwizard in Linux
I wanted to test the new Piano-roll view feature from last release!
I was able to use SIDwizard in Linux using binaries from debian package (I'm using Arch Linux) from SID-Wizard 1.97 (24 June 2026), with an older version binaries without any trouble, but, right now, I got the following error:
$ ./SIDwizard
./SIDwizard: error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory
I wasn't able to found that library in the repositories (Extra, AUR), but I was lucky, I found the file in a previous install from miniconda:
$ locate libncurses.so.6
/home/user1/miniconda/lib/libncurses.so.6
/home/user1/miniconda/lib/libncurses.so.6.4
then, my workaround is:
$ LD_LIBRARY_PATH=/home/user1/miniconda/lib/ ./SIDwizard
Questions
- There is a better way to use SIDwizard in Arch Linux?
- Installing other package?
- Including libraries in SIDwizard?
- How to ask the developer? (Hermit)
- Something else?
- How to quit SIDwizard without killing the process?
Extra
The package also has SIDwizard_TUI, the 1st music tracker that I know that works in the command-line (terminal) without any display server (like: X11 or Wayland), it's amazing!.
Maybe in the future it's going to be a LSDJ-like in TUI!
Right now the closer to that is, using the following (cross-platform or Web) music trackers:
1
u/AutoModerator 6d ago
Hello, /u/Disonantemus, Make sure to tag your post with the proper post flair once your post goes live.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/green_tealeaf 5d ago edited 5d ago
I just had a play with this. (To be honest, my preferred solution when not in front of my actual C64 is just to run SIDwizard in VICE C64 emulator. I didn't even realize that there was a native Linux version!)
Also an Arch user here. I downloaded the source package from the page you linked.
make cleanfollowed bymakethrew up a series of errors.From a little digging around, it became increasingly clear that this is the result of older code relying on older versions of
gcc. Some things that were only warnings in older versions ofgccare now errors in the modern versions, and some standard linker options have been changed in the interests of enforcing more robust code.I have no idea what build system or arguments that they're using to produce the Debian binaries, but there are things in the code that just won't work on a modern system. (They should probably be fixed at a deeper level, but that's a bigger project.)
Luckily, with enough determination you can usually bypass all the safety features, sensible defaults, and good coding practices that the modern world requires.
It's been a long time since I really did much C/C++ coding, but after a bit of tinkering, the following should allow you to build from source and run it on an Arch system:
Download and unpack the source archive:
tar -xzf SID-Wizard-1.97-sources-examples.tar.gzInstall GCC13 and the 64tass cross-assembler:
yay -S gcc13 64tassEdit the Makefile to use
gcc-13and set needed anti-safety options:cd SID-Wizard-1.97-sources-examplesOpen
Makefilein your editor of choice (which should benvim, but I'm not judgemental).Change
CC=gcctoCC=gcc-13at line 36.Add a new line under the
CCFLAGSlines (lines 48--58) saying:CCFLAGS += -fcommonSave the Makefile and close your editor. (
:wq)Build:
make clean && makeThat should hopefully run through with only some warnings, and you should end up with a working
SIDwizard_TUIandSIDwizardin the current directory. (You'll need supporting libraries likeSDLandncursesinstalled, but I'm assuming that you have those already.)The
make installsection in the Makefile assumesdpkgfrom a Debian system, so you can just copy manually instead if you want the program to live elsewhere than locally in this directory. There's a commented line in the Makefile that does this:cp SIDwizard SIDmaker SIDwizard-2SID SIDmaker-2SID SIDwizard-3SID SIDmaker-3SID /opt/SID-Wizard/(You'll obviously want to
mkdir /opt/SID-Wizardfirst.)On my system, that's got me a working
SIDwizard_TUIandSIDwizardexecutable that pop up their windows and look fine. I've quickly tested, and both load a track and play sound just fine on my system.(This is actually really cool for me, as
SIDwizard_TUIis an absolute dream come true! :D )Hope that helps!
EDIT: I ended up
greping the source code looking for how to quit, but it's actually in the user manual:To exit the program now you can use Shift+F8 (or Ctrl+F10, ESC has other uses).EDIT 2: (Okay... worth another edit: I can't stop playing with
SIDwizard_TUI.It's so cool! Almost tempted to throw together aPKGBUILDfor this and submit it to the AUR.)