Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qemu-system-riscv64: error while loading shared libraries: libpixman-1.so.0: cannot open shared object file: No such file or directory #6

Open
fanghuaqi opened this issue Oct 31, 2022 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@fanghuaqi
Copy link
Member

Using Nuclei QEMU 2022.08 met above issue, check with ldd.

nuclei@8dd23cfd9e26:~$ ldd ./prebuilt/qemu/bin/qemu-system-riscv64
        linux-vdso.so.1 (0x00007fffaff18000)
        libpixman-1.so.0 => not found
        libgio-2.0.so.0 => not found
        libgobject-2.0.so.0 => not found
        libglib-2.0.so.0 => not found
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1703565000)
        libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f170355e000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f170340f000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f17033f4000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f17033d1000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f17031df000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f17045f2000)

Fixed by install these packages in ubuntu 20.04 LTS: sudo apt install libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev

sudo apt install libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev
./prebuilt/qemu/bin/qemu-system-riscv64 --version
QEMU emulator version 6.0.50 (v6.0.0-1792-g35bce38-dirty)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
Nuclei QEMU 2022.08
@fanghuaqi fanghuaqi self-assigned this Oct 31, 2022
@fanghuaqi
Copy link
Member Author

Need to update documentation.

@fanghuaqi fanghuaqi added the documentation Improvements or additions to documentation label Nov 3, 2022
@fanghuaqi
Copy link
Member Author

see also riscv-mcu/qemu#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant