Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to start VirtualBox 4.1.16 (x86-64) GUI on SuSE 11 64-bit host, but getting the following error:

VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBox/VirtualBox.so",) failed: /usr/lib64/libGL.so.1: undefined symbol: XDamageAdd

Google doesn't help me to find any similar issue. Just found that libGL.so doesn't provide XDamageAdd function itself, rather libXdamage.so does:

$ ls -l /usr/lib64/libGL.so
lrwxrwxrwx 1 root root 21 Aug 27 11:13 /usr/lib64/libGL.so -> /usr/lib64/libGL.so.1
$ ls -l /usr/lib64/libXdamage.so
lrwxrwxrwx 1 root root 19 Apr 20  2010 /usr/lib64/libXdamage.so -> libXdamage.so.1.1.0
$ readelf -s /usr/lib64/libGL.so | grep -i xdamage
    28: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND XDamageAdd
    79: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND XDamageQueryVersion
$ readelf -s /usr/lib64/libXdamage.so | grep -i xdamage
    19: 0000000000001370   268 FUNC    GLOBAL DEFAULT   12 XDamageCreate
    22: 0000000000000d60   701 FUNC    GLOBAL DEFAULT   12 XDamageFindDisplay
    23: 00000000000014e0    84 FUNC    GLOBAL DEFAULT   12 XDamageQueryExtension
    24: 0000000000001140   292 FUNC    GLOBAL DEFAULT   12 XDamageSubtract
    25: 0000000000001020   276 FUNC    GLOBAL DEFAULT   12 XDamageAdd
    27: 0000000000001716     7 OBJECT  GLOBAL DEFAULT   14 XDamageExtensionName
    30: 0000000000001270   252 FUNC    GLOBAL DEFAULT   12 XDamageDestroy
    31: 0000000000202080    24 OBJECT  GLOBAL DEFAULT   24 XDamageExtensionInfo
    32: 0000000000001480    84 FUNC    GLOBAL DEFAULT   12 XDamageQueryVersion
$ ldd /usr/lib64/libGL.so | grep libXdamage
    /usr/lib64/libXdamage.so.1 (0x00007fe94fc10000)
$

Trying to provide libXdamage explicitly using LD_PRELOAD - also no result. Meanwhile, on the other host (SuSE 11 32-bit) 32-bit VBox runs without any problems.

Does anyone have an idea, what's wrong?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.