ruyisdk / ruyi

RuyiSDK Package Manager
Apache License 2.0
12 stars 6 forks source link

emulator/qemu-system-riscv-upstream: missing libfdt.so.1 on Ubuntu 22.04.3 LTS #60

Open KevinMX opened 5 months ago

KevinMX commented 5 months ago

libfdt.so.1 is missing by default.

mx @ Phony in ~ |17:26:00                                                                                                                                               
$ cat /etc/os-release                                                                                                                                                   
PRETTY_NAME="Ubuntu 22.04.3 LTS"                                                                                                                                        
NAME="Ubuntu"                                                                                                                                                           
VERSION_ID="22.04"                                                                                                                                                      
VERSION="22.04.3 LTS (Jammy Jellyfish)"                                                                                                                                 
VERSION_CODENAME=jammy                                                                                                                                                  
ID=ubuntu                                                                                                                                                               
ID_LIKE=debian                                                                                                                                                          
HOME_URL="https://www.ubuntu.com/"                                                                                                                                      
SUPPORT_URL="https://help.ubuntu.com/"                                                                                                                                  
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"                                                                                                                     
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"                                                                                     
UBUNTU_CODENAME=jammy                                                                                                                                                   
mx @ Phony in ~ |17:26:03                                                                                                                                               
$ ~/.local/share/ruyi/binaries/x86_64/qemu-system-riscv-upstream-8.2.0-ruyi.20240128/bin/qemu-system-riscv64 --version                                                  
/home/mx/.local/share/ruyi/binaries/x86_64/qemu-system-riscv-upstream-8.2.0-ruyi.20240128/bin/qemu-system-riscv64: error while loading shared libraries: libfdt.so.1: ca
nnot open shared object file: No such file or directory
xen0n commented 5 months ago

Code change to ruyi isn't required for fixing this, so this won't block the 0.4.0 release. I'll fix the packaging tonight.

xijing21 commented 5 months ago

image