View Single Post

  #3  
Old 08-21-2008, 01:26 PM
Default Re: libpthread.a(shr_xpg5.o) issue on AIX 5.3 TL 04 & 05

Hajo Ehlers wrote:
> On Aug 18, 1:10 pm, Dang wrote:
>> Hi,
>> I have a 32 bit binary (threaded application) compiled on AIX
>> 5300-04. When I try to run it on AIX 5300-05 it fails with following
>> error:
>>
>> /tmp/test start
>> exec(): 0509-036 Cannot load program /tmp/test because of the
>> following errors:
>> 0509-130 Symbol resolution failed for scsrvc because:
>> 0509-136 Symbol __pthread (number 195) is not exported from
>> dependent module /usr/lib/libpthread.a(shr_xpg5.o).
>> 0509-192 Examine .loader section symbols with the
>> 'dump -Tv' command.
>>
>> I checked loader section for libpthread.a on AIX 5300-04 and it
>> contains __pthread as EXP but its missing on AIX 5300-05. Has anybody
>> encountered such an issue? Is there a way to resolve this issue
>> (except for moving to higher TL)?
>>
>> Thanks & Regards,
>> Amit

>
> Both TLs are not supported anymore


Define "support"?

To answer the above question, no, there is no way to resolve a missing
symbol problem without updating the appropriate fileset to a more
current level.

What is odd is why that symbol is used from a build on a TL04 system.
That symbol was not introduced until TL07, which implies that (a)
your builder has mixed things up on his/her build system, or (b) the
program wasn't build on TL04, it was built on a later level, which
means that you're out of luck. There is no forward compatibility.

To be precise, check your lslpp -l bos.rte.libpthreads output on both
the build system and execution system. The level on the build
system must be at or lower than the level on the execution system.
Otherwise, you're out of luck.
Reply With Quote