Software-Installation

qemu:載入共享庫時出錯:libjpeg.so.8

  • November 18, 2016

我無法使用 qemu:

# qemu-system-x86_64 /dev/sdb
qemu-system-x86_64: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory

軟體包已經安裝

# aptitude search libjpeg                 
    1  i  libjpeg-dev - Development files for the JPEG library [dummy package]
    2  v  libjpeg-progs - 
    3  i A libjpeg-turbo-progs - Programs for manipulating JPEG files
    4  p  libjpeg-turbo-progs-dbg - Programs for manipulating JPEG files (debugging symbols)
    5  v  libjpeg62 - 
    6  i  libjpeg62-turbo - libjpeg-turbo JPEG runtime library
    7  p  libjpeg62-turbo-dbg - Debugging symbols for the libjpeg-turbo JPEG library
    8  i A libjpeg62-turbo-dev - Development files for the libjpeg-turbo JPEG library

為了使 qemu 工作,我需要做哪些額外的包或修改?

以下過程可用於找出哪些包提供特定文件:

sudo apt-get -y install apt-file
sudo apt-file update
sudo apt-file search libjpeg.so.8

在最近的 Ubuntu 上,您需要的文件由libjpeg-turbo8軟體包提供。qemu但是,如果它允許您在沒有所有必需依賴項的情況下安裝,您的系統可能會出現問題。

引用自:https://unix.stackexchange.com/questions/324180