img2pdf Makefile & instructions
img2pdf-static target failed to build until I...
* added the location of my DB static library (panda dependency; I chose Berkeley DB);
* added the -pthread option
I built on ubuntu, successfully after the above mods.
The README provides a very helpful comment about panda's intermediate file 'panda.db'. I would add this observation though: you _must_ delete this file if, for any reason, you want to run img2pdf in the same location on some or all of the same image files. If you don't delete it before running img2pdf again, you'll find that the files processed in the previous run show up as blank pages in the output in subsequent runs.