Help! I checked out the git repo above, and when running make:
Sure enough, "ldd adom-sage" doesn't have anything with ncurses in it. Ubuntu 12.04 64-bit. lib32ncurses5-dev and libncursesw5:i386 is installed. /lib/i386-linux-gnu/libncurses.so.5 exists. If I hack the Makefile to add '#define LIBNCURSES "/lib/i386-linux-gnu/libncurses.so.5"' to config.h, it compiles fine.
ldd adom-sage | perl -ne '($lib, $path) = (/^\s+(libncurses|libc).*=>\s+(\S+)/) and $lib =~ tr/a-z/A-Z/ and print "#define $lib \"$path\"\n"' >config.h
Unable to find libncurses
Is there a better way?
Also: how come (precompiled) ADOM Sage works with 32-bit ADOM 1.2.0p3 on 32-bit Debian 6, but not on 64-bit Ubuntu 12.04? It segfaults on the Ubuntu 12.04:
Program received signal SIGSEGV, Segmentation fault.
0xf7fc3b85 in cur_state () at adom-sage.cc:85
85 return state_stack.back();