Re: Linking problem on AIX 5.3

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Fri, 28 Jan 2011 10:58:47 +0100


Hi,

As we always point out, both here and on the forum (e.g. search the forum for AIX): we wouldn't mind supporting AIX, but we do not have access to a machine. If you can give us access we'd be happy to fix the few AIX issues that have been introduced in ROOT since we lost access to an AIX machine. Without that access it's very difficult.

Cheers, Axel.

Filimon Roukoutakis wrote on 01/27/2011 06:47 PM:
> 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
> *******************************************
> * *
> * W E L C O M E to R O O T *
> * *
> * Version 5.08/00b 24 January 2006 *
> * *
> * You are welcome to visit our Web site *
> * http://root.cern.ch *
> * *
> *******************************************
>
> 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 Fri Jan 28 2011 - 10:58:51 CET

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