tried it now: seems libraries get installed in /usr/lib on x86_64, so I added this before make # fix library installation path sed -i "s/(prefix)\/lib/(prefix)\/lib$LIBDIRSUFFIX/" Makefile Matteo