The Nettle package contains a low-level cryptographic library that is designed to fit easily in many contexts.
Install Nettle by running the following commands:
./configure --prefix=/usr --disable-static && make
Now, as the root user:
make install
chmod -v 755 /usr/lib/lib{hogweed,nettle}.so