Page 1 of 1

Solaris 10 - referenced symbol not found

Posted: 4. Dec 2010, 19:34
by D-Vic
I Instaled Virtual Box on Solaris 10 and while trying to execute an VirtualBox, i encountered thefollowing error:
Virtual Box: O sup R3HardenedMainGet Trusted Main: ("/opt/VirtualBox/I386/VirtualBox.so") failed: Ld.so.1:VirtualBox:fatal:relocation error:file /opt/VirtualBox/i386/libQtGui VBox.so.4: Symbol Fc FreeTypeQueryFace: referenced symbol not found

how to solve?

thanks a lot

Re: Solaris 10 - referenced symbol not found

Posted: 9. Dec 2010, 14:00
by jimklimov
Studying the list of dependent dynamic libraries in my system, I see that the symbol seems defined in /usr/lib/libfontconfig.so.1 :

Code: Select all

# ldd /opt/VirtualBox/i386/libQtGuiVBox.so.4  | awk '{ print $NF }' | while read LIB; do echo "=== $LIB"; nm "$LIB" | grep -i FreeTypeQueryFace; done
...
=== /usr/lib/libfontconfig.so.1
[1141]  |     90712|    6819|FUNC |GLOB |0    |9      |FcFreeTypeQueryFace
...
[code]

So - do you have SUNWfontconfig installed?

All in all, here's the list and order of Solaris packages we need to add to our minimized server install (with only basic X11 libraries):
### Prerequisites for Virtualbox
SUNWuiu8
SUNWTcl
SUNWTk
SUNWPython-share
SUNWPython
SUNWPython-devel
SUNWpng
SUNWfreetype2
SUNWfontconfig-root
SUNWfontconfig

Then go:
SUNWvboxkern (for virtualbox 3.0.x and older)
SUNWvbox
COSvboxsvc