如何在 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 報告了這個問題:

相關內容