After libtomcrypt is built as a shared library, one of the lines in the ebuild forces all applications that link against -ltomcrypt to also link against -ltommath: ! use libtommath && ! use tomsfastmath && append-flags -DLTM_DESC The library compiles fine, and at least the symmetric cyphers work fine if this line is removed. I don't see why that line (and the corresponding DEPEND line) is necessary.
done, cheers