Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#868718: qemu: Qemu fails to run on Stretch, due to missing libraries

54 views
Skip to first unread message

Ryan Thoryk

unread,
Jul 17, 2017, 7:10:03 PM7/17/17
to
Package: qemu
Version: 1:2.8+dfsg-6
Severity: important

Dear Maintainer,

Qemu is not running on my Stretch machine, due to missing libraries. I'm going
to build from source and see if that fixes it.

ryan@t420:~$ qemu-system-i386
qemu-system-i386: error while loading shared libraries: libnss3.so.1d: cannot
open shared object file: No such file or directory

ryan@t420:~$ ldd /usr/bin/qemu-system-i386
--snip--
libnss3.so.1d => not found
libnssutil3.so.1d => not found
libsmime3.so.1d => not found
libssl3.so.1d => not found
libplds4.so.0d => not found
libplc4.so.0d => not found
libnspr4.so.0d => not found
--snip--



-- System Information:
Debian Release: 9.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages qemu depends on:
ii qemu-system 1:2.8+dfsg-6
ii qemu-user 1:2.8+dfsg-6
ii qemu-utils 1:2.8+dfsg-6

qemu recommends no packages.

Versions of packages qemu suggests:
pn qemu-user-static <none>

-- no debconf information

Ryan Thoryk

unread,
Jul 17, 2017, 8:50:03 PM7/17/17
to
I found that rebuilding the packages from source fixes the problem.

--
Ryan Thoryk
ry...@thoryk.com
ry...@tliquest.net

Michael Tokarev

unread,
Jul 18, 2017, 2:00:03 AM7/18/17
to
Control: tag -1 + moreinfo unreproducible

18.07.2017 01:54, Ryan Thoryk wrote:
> Package: qemu
> Version: 1:2.8+dfsg-6
> Severity: important
>
> Dear Maintainer,
>
> Qemu is not running on my Stretch machine, due to missing libraries. I'm going
> to build from source and see if that fixes it.
>
> ryan@t420:~$ qemu-system-i386
> qemu-system-i386: error while loading shared libraries: libnss3.so.1d: cannot
> open shared object file: No such file or directory
>
> ryan@t420:~$ ldd /usr/bin/qemu-system-i386
> --snip--
> libnss3.so.1d => not found
> libnssutil3.so.1d => not found
> libsmime3.so.1d => not found
> libssl3.so.1d => not found
> libplds4.so.0d => not found
> libplc4.so.0d => not found
> libnspr4.so.0d => not found
> --snip--

It works just fine here. And this is not the version of qemu-system-x86 which
is shipped in debian, because:

$ ldd /usr/bin/qemu-system-i386 | egrep 'lib(nss|smime|ssl|pld|plc|nspr)'
libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007fa7b753d000)
libnss3.so => /usr/lib/x86_64-linux-gnu/libnss3.so (0x00007fa7b6d5e000)
libnssutil3.so => /usr/lib/x86_64-linux-gnu/libnssutil3.so (0x00007fa7b6b30000)
libsmime3.so => /usr/lib/x86_64-linux-gnu/libsmime3.so (0x00007fa7b6903000)
libssl3.so => /usr/lib/x86_64-linux-gnu/libssl3.so (0x00007fa7b66ab000)
libplds4.so => /usr/lib/x86_64-linux-gnu/libplds4.so (0x00007fa7b64a7000)
libplc4.so => /usr/lib/x86_64-linux-gnu/libplc4.so (0x00007fa7b62a2000)
libnspr4.so => /usr/lib/x86_64-linux-gnu/libnspr4.so (0x00007fa7b6060000)

(version 2.8+dfsg-6).

Please find out where you've got the package from.

Thanks,

/mjt

Michael Tokarev

unread,
Jul 18, 2017, 7:30:04 AM7/18/17
to
Note that none of the above libraries are used by qemu-system directly.
All of them are used by libcacard.so.0 (which is used by qemu).

It looks like you have some old libcacard.so.0 file, which uses old
versions of libnspr and libnss libraries (these are from firefox),
most likely from jessie, not upgraded to stretch, hence you see
the errors which you see.

Rebuilding qemu from source results in it not using libcacard at
all because it is non-functioning on your system, so the resulting
binaries works (without trying to load your system libcacard.so).

Please check your jessie->stretch upgrade status and fix any
leftovers.

I'm closing this bugreport. If the problem persists after you
ensure your system is running real stretch and not some half-
jessie, please file a bugreport against the actually broken
package (libcacard in this case).

Thanks!

/mjt
0 new messages