Unable to build python 3.7.0 "_dbm" optional module

I've been able to successfully finish building python 3.7.0 but one last optional module keeps slipping through the net! _dbm

What ubuntu or debian package is required for this?

The necessary bits to build these optional modules were not found:
_dbm

I've been able to include in the build _gdbm but not _dbm, why? I have installed libgdbm-dev (which solved _gdbm) but can't definitively find any other *dbm-dev package that is relevant for _dbm.

I would really appreciate a hand if anyone knows what I'm missing!

Environment:

  • Ubuntu 18.04
  • gcc8.2
  • python3.7.0 source
  • using configure --enable-optimizations --with-lto

1 Answer

I was able to satisfy the dbm requirement via this module

sudo apt install libgdbm-compat-dev

It looks like the older "dbm" files are moved to "gbdm-compat" package.

5

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like