如何在 ubuntu 16.04 LTS 64 位版本上安装 libelfg0-dev

如何在 ubuntu 16.04 LTS 64 位版本上安装 libelfg0-dev

我正在尝试按照以下说明设置 Open-TEE 环境https://open-tee.github.io/documentation/

Open-TEE 需要安装 libelfg0-dev。但是当我运行

sudo apt-get install libelfg0-dev

我收到以下错误:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libelfg0-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 'libelfg0-dev' has no installation candidate

我使用以下方法检查了在 Ubuntu 上安装的软件包

dpkg -l | grep libelf

结果是:

ii  libelf1:amd64    0.165-3ubuntu1    amd64    library to read and write ELF files
ii  libelf1:i386     0.165-3ubuntu1    i386     library to read and write ELF files

所以我认为该软件包还没有出现在我的 Ubuntu 上。

有人知道如何安装 libelfg0 包吗?

谢谢,

答案1

如果使用 Ubuntu 16.04LTS,请安装 libelf-dev 而不是 libelfg0-dev:

sudo apt-get install libelf-dev

我在这里向 Open-TEE 报告了此问题:

相关内容