libdb4.8 ++不再可用

我正在尝试使用QT-Creator来构建程序,并且我得到了需要libdb4.8++并且不可用的消息。

我试过使用libdb5.1libdb4.8但它仍然要求libdb4.8++

我目前正在使用Ubuntu 12.04 LTS。 如果没有办法安装,哪个版本的Ubuntu与libdb4.8++兼容?

Ubuntu lucid(10.04)确实有libdb4.8++ ,通过在/etc/apt/sources.list添加一个条目,你可以安装它:

 (echo deb http://de.archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse; echo deb http://de.archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse; echo deb http://security.ubuntu.com/ubuntu lucid-security main restricted universe multiverse) | sudo sh -c 'cat >>/etc/apt/sources.list' sudo apt-get update sudo apt-get install libdb4.8++