#693 closed System Defect (fixed)

VirtualBox metapackage doesn't install gnutls which prevents headless from working

Reported by: jdmulloy Owned by:
Priority: major Milestone:
Component: Software Manager Version: 9.0-RELEASE
Keywords: virtualbox metapackage gnutls Cc: trac-bugs@…


[virtualbox@zinc ~]$ VBoxManage startvm openSUSE_12.2_x86 --type headless
Waiting for VM "openSUSE_12.2_x86" to power on...
VBoxManage: error: The virtual machine 'openSUSE_12.2_x86' has terminated unexpectedly during startup with exit code 1
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Machine, interface IMachine, callee 
[virtualbox@zinc ~]$ VBoxHeadless startvm openSUSE_12.2_x86                                                                                                                                               
VBoxHeadless: supR3HardenedMainGetTrustedMain: dlopen("/usr/local/lib/virtualbox/VBoxHeadless.so",) failed: Shared object "libgnutls.so.47" not found, required by "libvncserver.so.0"
[virtualbox@zinc ~]$

After installing gnutls-2.12.18_1

[virtualbox@zinc ~]$ VBoxManage startvm openSUSE_12.2_x86 --type headless
Waiting for VM "openSUSE_12.2_x86" to power on...
VM "openSUSE_12.2_x86" has been successfully started.
[virtualbox@zinc ~]$

The VirtualBox? metapackage needs to have gnutls as a dependency.

[virtualbox@zinc ~]$ ldd /usr/local/lib/virtualbox/VBoxHeadless.so
        libvncserver.so.0 => /usr/local/lib/libvncserver.so.0 (0x80121d000)
        VBoxRT.so (0x801479000)
        VBoxXPCOM.so (0x80179a000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x801abd000)
        libm.so.5 => /lib/libm.so.5 (0x801dcd000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x801fee000)
        libc.so.7 => /lib/libc.so.7 (0x80081b000)
        libz.so.6 => /lib/libz.so.6 (0x8021fb000)
        libpng15.so.15 => /usr/local/lib/libpng15.so.15 (0x80240f000)
        libjpeg.so.11 => /usr/local/lib/libjpeg.so.11 (0x80263c000)
        libgnutls.so.47 => /usr/local/lib/libgnutls.so.47 (0x802873000)
        libthr.so.3 => /lib/libthr.so.3 (0x802b39000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x802d5c000)
        librt.so.1 => /usr/lib/librt.so.1 (0x803058000)
        libssl.so.6 => /usr/lib/libssl.so.6 (0x80325d000)
        libcrypto.so.6 => /lib/libcrypto.so.6 (0x8034b0000)
        libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x803853000)
        libcurl.so.6 => /usr/local/lib/libcurl.so.6 (0x803ba4000)
        libnettle.so.4 => /usr/local/lib/libnettle.so.4 (0x803dfd000)
        libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x804021000)
        libhogweed.so.2 => /usr/local/lib/libhogweed.so.2 (0x80428c000)
        libintl.so.9 => /usr/local/lib/libintl.so.9 (0x80449e000)
        libp11-kit.so.0 => /usr/local/lib/libp11-kit.so.0 (0x8046a8000)

Change History (1)

comment:1 Changed 12 months ago by kenmoore

  • Resolution set to fixed
  • Status changed from new to closed

This is an old bug that was fixed quite a while ago.
FYI: VirtualBox? is now included in the base PC-BSD system for 9.2 and works great.

Note: See TracTickets for help on using tickets.