NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

qemu-system-riscv64 error, missing libX11.so.7 on NetBSD 8.0/amd64



Hi,

qemu on NetBSD 8.0 errors out saying libX11.so.7 not found.
I am running NetBSD 8.0 on VirtualBox.

dt@nb80:~$ qemu-system-riscv64 -machine help
Shared object "libX11.so.7" not found
dt@nb80:~$ env | grep LD
dt@nb80:~$ uname -a
NetBSD nb80 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 2018
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC
amd64

dt@nb80:~$ ldd /usr/pkg/bin/qemu-system-riscv64 | grep found
        -lX11.7 => not found
        -lpixman-1.2 => not found

dt@nb80:~$ sudo find / -name "libX11.so*" -print
/usr/pkg/lib/libX11.so
/usr/pkg/lib/libX11.so.6
/usr/pkg/lib/libX11.so.6.3.0

dt@nb80:~$ ldd /usr/pkg/bin/qemu-system-riscv64
/usr/pkg/bin/qemu-system-riscv64:
        -lossaudio.1 => /usr/lib/libossaudio.so.1
        -lc.12 => /usr/lib/libc.so.12
        -lSDL2-2.0.0 => /usr/pkg/lib/libSDL2-2.0.so.0
        -lm.0 => /usr/lib/libm.so.0
        -lusbhid.1 => /usr/lib/libusbhid.so.1
        -lpthread.1 => /usr/lib/libpthread.so.1
        -lrt.1 => /usr/lib/librt.so.1
        -lX11.7 => not found
        -lcurses.7 => /usr/lib/libcurses.so.7
        -lterminfo.1 => /usr/lib/libterminfo.so.1
        -lz.1 => /usr/lib/libz.so.1
        -lcurl.4 => /usr/pkg/lib/libcurl.so.4
        -lidn2.0 => /usr/pkg/lib/libidn2.so.0
        -lintl.1 => /usr/lib/libintl.so.1
        -lunistring.2 => /usr/pkg/lib/libunistring.so.2
        -lssl.12 => /usr/lib/libssl.so.12
        -lcrypto.12 => /usr/lib/libcrypto.so.12
        -lcrypt.1 => /lib/libcrypt.so.1
        -lgssapi.11 => /usr/lib/libgssapi.so.11
        -lkrb5.27 => /usr/lib/libkrb5.so.27
        -lhx509.6 => /usr/lib/libhx509.so.6
        -lasn1.10 => /usr/lib/libasn1.so.10
        -lcom_err.8 => /usr/lib/libcom_err.so.8
        -lroken.20 => /usr/lib/libroken.so.20
        -lutil.7 => /usr/lib/libutil.so.7
        -lwind.1 => /usr/lib/libwind.so.1
        -lheimbase.2 => /usr/lib/libheimbase.so.2
        -lsqlite3.1 => /usr/lib/libsqlite3.so.1
        -lheimntlm.5 => /usr/lib/libheimntlm.so.5
        -lbz2.1 => /usr/lib/libbz2.so.1
        -lpixman-1.2 => not found
        -lpng16.16 => /usr/pkg/lib/libpng16.so.16
        -ljpeg.9 => /usr/pkg/lib/libjpeg.so.9
        -lgcrypt.20 => /usr/pkg/lib/libgcrypt.so.20
        -lgpg-error.0 => /usr/pkg/lib/libgpg-error.so.0
        -llzo2.2 => /usr/pkg/lib/liblzo2.so.2
        -lsnappy.1 => /usr/pkg/lib/libsnappy.so.1
        -lstdc++.8 => /usr/lib/libstdc++.so.8
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
        -ljemalloc.2 => /usr/pkg/lib/libjemalloc.so.2
        -lgthread-2.0.0 => /usr/pkg/lib/libgthread-2.0.so.0
        -lglib-2.0.0 => /usr/pkg/lib/libglib-2.0.so.0
        -lpcre.1 => /usr/pkg/lib/libpcre.so.1

How do I resolve this?

Thanks.

Regards,
Dinesh


Home | Main Index | Thread Index | Old Index