db.h giving a "no such file or directory" error while searching for libdb on ubuntu 20.04 development branch
by asdesdq from LinuxQuestions.org on (#51TKG)
hello,
i am currently attempting to compile jigdo, and it keeps on showing up with
Code:checking for libdb version in db.h... conftest.c:1:10: fatal error: db.h: No such file or directory
1 | #include <db.h>
| ^~~~~~
compilation terminated.
.
./configure: line 4979: test: : integer expression expectedat the end of the attempted compilation. does anyone know how to get this to stop happening? i've also tried running
Code:sudo apt install libdb4-devlike it says to try, but it just shows up with "E: Unable to locate package libdb4-dev"


i am currently attempting to compile jigdo, and it keeps on showing up with
Code:checking for libdb version in db.h... conftest.c:1:10: fatal error: db.h: No such file or directory
1 | #include <db.h>
| ^~~~~~
compilation terminated.
.
./configure: line 4979: test: : integer expression expectedat the end of the attempted compilation. does anyone know how to get this to stop happening? i've also tried running
Code:sudo apt install libdb4-devlike it says to try, but it just shows up with "E: Unable to locate package libdb4-dev"