VBox on Sol10 u9, virtualbox.so failing to find shared libs

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
japester
Posts: 3
Joined: 6. Apr 2009, 13:39
Primary OS: Solaris
VBox Version: OSE other
Guest OSses: Ubuntu, WinXP
Location: Perth, Australia

VBox on Sol10 u9, virtualbox.so failing to find shared libs

Post by japester »

I have just got back into working with VirtualBox and am trying to get it working on a new install of Solaris 10u9.
(I have 3.2.8 running fine on OS X)

Attempting to run /opt/VirtualBox/VirtualBox fails, with failed shared library paths.
VBoxManage runs, but VirtualBox is so GUI centric (particularly in its documentation) that trying to get guests configured and running from the CLI is painful.
(command outputs below)

I appear to have a functional "crle -64", however ldd fails to find libXinerama, and a couple of others, even though they're in the default shared library search path. Screwing with LD_LIBRARY_PATH and crle -64 -e <random directories> has proved completely fruitless.
Reading all the other posts on the forums has also proved fruitless.
Any great hints?

[root@dios ~]# VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBox/amd64/VirtualBox.so",) failed: ld.so.1: VirtualBox: fatal: libXinerama.so.1: open failed: No such file or directory
[root@dios ~]# ldd /opt/VirtualBox/amd64/VirtualBox.so |grep not
libXinerama.so.1 => (file not found)
libX11.so.4 (SUNWprivate) => (version not found)
libX11.so.4 (SUNW_1.1) => (version not found)
libXrender.so.1 (RENDER_0.0) => (version not found)
libXrender.so.1 (RENDER_0.5) => (version not found)
libXrender.so.1 (RENDER_0.8 ) => (version not found)
libX11.so.4 (SUNW_1.1) => (version not found)

[root@dios ~]# glocate libXinerama.so.1
/usr/lib/amd64/libXinerama.so.1
/usr/lib/libXinerama.so.1
/usr/X11/lib/amd64/libXinerama.so.1
/usr/X11/lib/libXinerama.so.1
[root@dios ~]# crle -64

Configuration file [version 4]: /var/ld/64/ld.config
Default Library Path (ELF): /lib/64:/usr/lib/64
Trusted Directories (ELF): /lib/secure/64:/usr/lib/secure/64 (system default)

Command line:
crle -64 -c /var/ld/64/ld.config -l /lib/64:/usr/lib/64

[root@dios ~]#
japester
Posts: 3
Joined: 6. Apr 2009, 13:39
Primary OS: Solaris
VBox Version: OSE other
Guest OSses: Ubuntu, WinXP
Location: Perth, Australia

Re: VBox on Sol10 u9, virtualbox.so failing to find shared libs

Post by japester »

well,
51 reads, 0 replies.

Bugger.

Still no fix, as of yet.
dovienya
Posts: 1
Joined: 6. Oct 2011, 22:11
Primary OS: Solaris
VBox Version: OSE other
Guest OSses: Ubuntu

Re: VBox on Sol10 u9, virtualbox.so failing to find shared l

Post by dovienya »

looks like a problem in the symlinks in /usr/lib/amd64. for example:
libXinerama.so.1 -> ../../X11/lib/64/libXinerama.so.1

but /usr/X11/lib/64/ does not exist. as a quick fix i created a add'l symlink:
/usr/X11/lib/64 -> amd64/
Post Reply