Debian 8 will not be able to run ADOM Noteye as currently built/packaged
issueid=2410 10-24-2013 12:39 AM
Senior Member
Number of reported issues by Alucard: 22
Debian 8 will not be able to run ADOM Noteye as currently built/packaged
Ubuntu could follow

ADOM for Linux with NotEye depends on, which on Debian 6+7* is provided by the libsvga1 package. However, this package has been removed[1][2] from Unstable and Testing (what will be Debian 8 some time in 2015). So it affects those who run testing/unstable (like me on my laptop) now, though it won't affect Debian 6 or 7 users ever, at least until everyone is off of them.

Apparently, use of this library is frowned upon by some:
Quote Originally Posted by Ben Hutchings
isn't it time we quietly got rid of this library? Video memory and mode setting should be managed by the kernel, not by applications. It's bad enough that we had the X server doing this for years (and still do on some hardware).
So this is a warning that some other method, or way of providing, may need to be found on Linux. I haven't found any evidence Ubuntu is also removing libsvga1, but as they generally follow Debian, they could as well.

* As of this submission: Debian 6 is aka Squeeze and Oldstable; Debian 7 is aka Wheezy and Stable; Debian 8 is aka Jessie and Testing; and as always, Debian Unstable is aka Sid.
[1] Last messages confirm it
[2] Package search for libsvga1 (see the lack of jessie/sid for [i386/amd64])
Issue Details
Issue Number 2410
Project ADOM (Ancient Domains Of Mystery)
Category Linux (NotEye)
Status Fixed
Priority 6
Affected Version ADOM 1.2.0 pre 17
Fixed Version ADOM r58
Milestone (none)
Users able to reproduce bug 1
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)

10-29-2013 06:40 PM
jt jt is offline
ADOM does not directly use libvga, but SDL does. So it should be sufficient to replace all SDL libraries with newer ones from Jessie. I will set up a Debian 8 VM to verify this.

10-29-2013 07:50 PM
Senior Member
Hmmm, on my system is not found unless I install the package, even though there's some mention of it in the bundled-with-adom
Here's what I get on Debian 7 64-bit now, trying 64-bit Debian Noteye P17.

alucard@thrawn:~/adom-p17-noteye$ ldd ./adom  | grep vga => not found
alucard@thrawn:~/adom-p17-noteye$ ./adom
./adom: error while loading shared libraries: cannot open shared object file: No such file or directory
alucard@thrawn:~/adom-p17-noteye$ sudo apt-get install libsvga1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/290 kB of archives.
After this operation, 594 kB of additional disk space will be used.
Selecting previously unselected package libsvga1:amd64.
(Reading database ... 126249 files and directories currently installed.)
Unpacking libsvga1:amd64 (from .../libsvga1_1%3a1.4.3-33_amd64.deb) ...
Processing triggers for man-db ...
Setting up libsvga1:amd64 (1:1.4.3-33) ...
alucard@thrawn:~/adom-p17-noteye$ ldd ./adom  | grep vga => /usr/lib/x86_64-linux-gnu/ (0x00007fa0a8a2f000)
alucard@thrawn:~/adom-p17-noteye$ grep lib/*
Binary file lib/ matches
And Debian 8, running jessie/sid (preferring jessie) all updated as of 2013-10-29: includes no reference to *vga*. libsdl1.2debian:amd64 1.2.15-7 is installed.
alucard@wedge:~/adom-p17-noteye$ ldd ./adom | grep vga => not found
alucard@wedge:~/adom-p17-noteye$ ./adom 
./adom: error while loading shared libraries: cannot open shared object file: No such file or directory
I don't admit to well understanding how shared libraries work, but maybe distributing with adom but not part of is in order?

10-29-2013 11:28 PM
Ancient Member
I can verify Alucard's results for the 64-bit Debian & Ubuntu Noteye build. I'm running Arch and had to grab svgalib from the AUR due to "error while loading shared libraries: cannot open shared object file: No such file or directory".

(somewhat relatedly, I actually had quite a bit of difficulty w/ Noteye originally because my libraries were newer and I had to symlink the .so to the required version. Is there any way for the required libraries to be linked against the "versionless" .so?)

01-15-2015 08:10 AM
Junior Member
I could reproduce that issue on Debian Jessie (64 bit) and Debian Wheezy (32 bit)

Replacing the with a symbolic link fixed that issue for me

Debian Wheezy (i386) / Debian Jessie (i386)

rm /home/norg/games/adom/lib/
ln -s /usr/lib/i386-linux-gnu/ /home/norg/games/adom/lib/
Debian Wheezy (amd64) / Debian Jessie (amd64)

rm /home/norg/games/adom/lib/
ln -s /usr/lib/x86_64-linux-gnu/ /home/norg/games/adom/lib/
(the libsdl packages should be installed)

04-29-2015 04:11 PM
jt jt is offline
Debian 8 (Jessie) binaries will be available for the next release (R58).

+ Reply