Steps to build libcrypsetup on Ubuntu Bionic apt-get install git gcc make autoconf automake autopoint pkg-config libtool gettext libssl-dev libdevmapper-dev libpopt-dev uuid-dev libsepol1-dev libjson-c-dev libssh-dev libblkid-dev tar asciidoctor git clone --recursive https://github.com/mbroz/cryptsetup.git cd cryptsetup/ ./autogen.sh && ./configure && make ls -lah .libs/libcryptsetup.so*