supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBo

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
mhelal
Posts: 1
Joined: 9. Sep 2008, 05:23

supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBo

Post by mhelal »

Hi

I installed Virtual Box 2 on Solaris 10 08/07, and it gives me the following error:

supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBox/VirtualBox.so",) failed: ld.so.1: VirtualBox: fatal: libXcursor.so.1: open failed: No such file or directory


I installed libXcursor and all it dependency and it is in the path now, and ld.so.1 and VirtualBox.so are in the path as well,
the $PATH is:

/opt/VirtualBox:/usr/lib:/usr/lib/amd64:/usr/ccs/bin:/usr/local/lib:/usr/local/bin:/opt/SUNWhpc/HPC7.1/bin:/usr/sbin:/usr/openwin/bin:/usr/ucb

#uname -a

SunOS localhost 5.10 Generic_120012-14 i86pc i386 i86pc


I appreciate any help I can get to start using it,

Kind Regards,

Manal
baustin
Posts: 1
Joined: 9. Sep 2008, 16:03

Post by baustin »

I'm having the same issue on Fedora 7. I removed VBox v1.6.6 Install ed v2.0. Installation shows success except for:

chcon: can't apply partial context to unlabeled file /usr/lib/virtualbox/VirtualBox
chcon: can't apply partial context to unlabeled file /usr/lib/virtualbox/VBoxSDL
chcon: can't apply partial context to unlabeled file /usr/lib/virtualbox/VBoxHeadless
chcon: can't apply partial context to unlabeled file /usr/lib/virtualbox/VirtualBox
chcon: can't apply partial context to unlabeled file /usr/lib/virtualbox/vboxwebsrv
No precompiled module for this kernel found --trying to build one. Messages emitted during module compilation will be logged to /var/log/vbox-install.log

Contents of vbox-install.log actually look to be a shell script:

make KBUILD_VERBOSE=1 -C /lib/modules/2.6.21-1.3194.fc7/build SUBDIRS-/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
make[1]: Entering directory '/usr/src/kernels/2.6.21-1.3194.fc7-i686'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
\
echo;
echo " ERROR: Kernel configuration is invald.";.............


Autoconf.h and auto.conf do exist in the appropriate directories as stated by the vbox-install.log
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Post by Ramshankar »

A missing xcursor means your Solaris is just too old. Please try upgrading your solaris host OS and the problem should be fixed. I assuming you're running S10 u4 or lower.
Oracle Corp.
fikxim
Posts: 1
Joined: 3. Jul 2008, 14:26

Post by fikxim »

Wrong!!!
I'm have the same error though I'm running SunOS 5.11 svn_70b on amd64 archt (kern - i86pc). How old is 'old'? I started experiencing the problem from vb2.0.0 till vb2.0.2. Prior versions are running fine.
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Post by Ramshankar »

The official minimum version is build 86. The previous versions worked because we were not using security hardening. In any case I would highly recommend upgrading your nevada build as quite a bit has changed both ways.
Oracle Corp.
mbranch
Posts: 2
Joined: 1. Jul 2008, 04:12

Solution for Solaris 10 u4

Post by mbranch »

I resolved this by applying Solaris patch 119060-44. Don't know if this applies for OpenSolaris.
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Post by Ramshankar »

Good. Thanks for the info. No, it does not apply for OpenSolaris because it doesn't have this issue with missing libs there.
Oracle Corp.
Post Reply