When building bitcoind, I receive error "headers.h:36:20: fatal error: db_cxx.h: No such file or directory" When building bitcoind on LinuxCoin (Debian based), I receive this error


  "headers.h:36:20: fatal error: db_cxx.h: No such file or directory"


following the instructions at https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.txt

I believe the error is caused by the package "libdb4.8++-dev" being non-existant for the distro, as when attempting to "apt-get install" that, I get:


  Package libdb4.8++-dev is not available, but is referred to by another package.
  This may mean that the package is missing, has been obsoleted, or
  is only available from another source
  
  E: Package 'libdb4.8++-dev' has no installation candidate


NOTE: libdb4.8-dev and all other dependencies are already installed.

It's probably a silly mistake on my part but any help is appreciated! Thanks.
I did the following command on Ubuntu and it worked.

sudo apt-get install libdb++-dev