After a long break, I updated my Gentoo installation (I was more working on Windows, recently – mainly for studying reasons…)
After that, when issueing the usual “revdep-rebuild”, I encountered some errors that turned out to be some dependencies on SDL; the corresponding configure routines warned about something like:
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... no
*** Could not run SDL test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SDL or finding the wrong
*** version of SDL. If it is not finding SDL, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: *** SDL version 1.2.0 not found!
Apparently, there are different sources to this problem; I found two threads on forums.gentoo.org
When I finally looked into config.log, as indicated, I found out that libaa tried to find a libslang-library that was nonexistent:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libslang-utf8.so.1, needed by /usr/lib/libaa.so.1, not found (try using -rpath or -rpath-link)
So, re-emerging aalib did the trick.
In the posts I linked above, for others re-emerging libsdl or some other packages helped as well… but the best is to look into config.log, if something like this happens. Will remember this…