VirtualBox

Opened 11 years ago

Closed 8 years ago

#11656 closed defect (obsolete)

Multiple installation problems with Oracle Solaris 10u11 and VB 4.2.10

Reported by: Mounty1 Owned by:
Component: installer Version: VirtualBox 4.2.10
Keywords: installation dependency Cc:
Guest type: all Host type: Solaris

Description

  1. The Solaris packages SUNWdtrp and SUNWmdu (!) are dependencies because the postinstall script refers to drivers that they include; but the two packages are not specified as dependencies in the VB package.
  1. SUNWgccruntime is also an unspecified dependency because the zoneaccess service requires libgcc_s.so.1 but in this case it's still wrong because /opt/VirtualBox/VBoxZoneAccess can't find the library so it is necessary to modify the start method (as is done in OmniOS for example) thus:
        <exec_method
            type='method'
            name='start'
            exec='/opt/VirtualBox/VBoxZoneAccess'
            timeout_seconds='10' >
            <method_context>
                <method_credential user='root' group='root' />
                <method_environment>
                  <!-- Gross hack, to pick up the right library -->
                  <envvar name='LD_LIBRARY_PATH' value='/usr/sfw/lib/amd64' />
                </method_environment>
            </method_context>
        </exec_method>
    

so that the start command is:

# LD_LIBRARY_PATH=/usr/sfw/lib/amd64 /opt/VirtualBox/VBoxZoneAccess

Change History (4)

comment:1 by Mounty1, 11 years ago

  1. Running VB in a zone also fails, even when all the above is done:
    -bash-3.2$ LD_LIBRARY_PATH=/usr/sfw/lib/amd64 /opt/VirtualBox/VirtualBox
    ld.so.1: VirtualBox: fatal: libstdc++.so.6: open failed: No such file or directory
    Killed
    -bash-3.2$ find /usr -name libstdc++.so.6 -ls
    140030    1 lrwxrwxrwx   1 root     root           18 Mar 31 10:08 /usr/sfw/lib/amd64/libstdc++.so.6 -> libstdc++.so.6.0.3
    140033    1 lrwxrwxrwx   1 root     root           18 Mar 31 10:08 /usr/sfw/lib/libstdc++.so.6 -> libstdc++.so.6.0.3
    -bash-3.2$ ls -l /usr/sfw/lib/amd64/libstdc++.so.6
    lrwxrwxrwx   1 root     root          18 Mar 31 10:08 /usr/sfw/lib/amd64/libstdc++.so.6 -> libstdc++.so.6.0.3
    -bash-3.2$ ls -Ll /usr/sfw/lib/amd64/libstdc++.so.6
    -r-xr-xr-x   1 root     bin      5626864 Mar 28  2012 /usr/sfw/lib/amd64/libstdc++.so.6
    -bash-3.2$ file /usr/sfw/lib/amd64/libstdc++.so.6
    /usr/sfw/lib/amd64/libstdc++.so.6:      ELF 64-bit LSB dynamic lib AMD64 Version 1, dynamically linked, not stripped
    

So VB reports that a needed shared object is missing, even though it is present.

comment:2 by Mounty1, 11 years ago

Correction to the description: s/SUNWmdu/SUNWmdr/

comment:3 by Mounty1, 11 years ago

https://forums.oracle.com/forums/thread.jspa?threadID=2020573 has the solution in this case.

This is a 3 1/2 year old bug with a simple solution.

comment:4 by aeichner, 8 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use