Linking problem on AIX 5.3

From: Filimon Roukoutakis <Filimon.Roukoutakis_at_cern.ch>
Date: Thu, 27 Jan 2011 18:47:03 +0100


Hi, maybe posting here is more visible to some user with such experience than on the forum. With ROOT 5.00/08 (the newest one that builds successfully on AIX 5.3) I get the following message

fibm04:~/filimon/root/pro/bin> root.exe
dlopen error: Symbol resolution failed for /home/daq/filimon/root/pro/lib/libGX11.a because:

         Symbol XGetGCValues (number 362) is not exported from dependent
           module /usr/lib/libX11.a(shr.o).
         Symbol XIconifyWindow (number 363) is not exported from dependent
           module /usr/lib/libX11.a(shr.o).
         Symbol XSetWMNormalHints (number 364) is not exported from 
dependent
           module /usr/lib/libX11.a(shr.o).
         Symbol XSetWMName (number 365) is not exported from dependent
           module /usr/lib/libX11.a(shr.o).
         Symbol XSetWMIconName (number 366) is not exported from dependent
           module /usr/lib/libX11.a(shr.o).
         Symbol XSetWMProtocols (number 367) is not exported from dependent
           module /usr/lib/libX11.a(shr.o).
Examine .loader section symbols with the 'dump -Tv' command. Load Error: Failed to load Dynamic link library /home/daq/filimon/root/pro/lib/libGX11.a

Compiled on 27 January 2011 for aix5.

CINT/ROOT C/C++ Interpreter version 5.16.5, November 30 2005 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. *** Interpreter error recovered ***
root [0] .q

Running dump -Tv on the mentioned symbols as well as some random ones from the full listing gives the following

fibm04:~> dump -Tv /usr/lib/libX11.a | grep XIconifyWindow [583] 0x00020df4 .data EXP DS SECdef [noIMid] XIconifyWindow
fibm04:~> dump -Tv /usr/lib/libX11.a | grep XGetGCValues [501] 0x00020a1c .data EXP DS SECdef [noIMid] XGetGCValues
fibm04:~> dump -Tv /usr/lib/libX11.a | grep XGetWMIconName [533] 0x00020b9c .data EXP DS SECdef [noIMid] XGetWMIconName
[515] 0x000076d4 .data EXP DS SECdef [noIMid] XGetWMIconName
fibm04:~> dump -Tv /usr/lib/libX11.a | grep XDrawArcs

[419]   0x00020644    .data      EXP     DS SECdef        [noIMid] XDrawArcs
[149]   0x00006540    .data      EXP     DS SECdef        [noIMid] XDrawArcs

The only difference I see is that the problematic symbols are only found once. Anyone with experience on this platform to suggest some more diagnostic tools (or a direct way to export these symbols by -for example- repackaging the .a file somehow? Thanks, filimon

Received on Thu Jan 27 2011 - 18:47:11 CET

This archive was generated by hypermail 2.2.0 : Fri Jan 28 2011 - 11:50:01 CET