libpthread.a(shr_xpg5.o) issue on AIX 5.3 TL 04 & 05

This is a discussion on libpthread.a(shr_xpg5.o) issue on AIX 5.3 TL 04 & 05 within the aix forums in Operating Systems category; 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 ...

Go Back   Database Forum > Operating Systems > aix

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-18-2008, 08:10 AM
Default libpthread.a(shr_xpg5.o) issue on AIX 5.3 TL 04 & 05

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
Reply With Quote
  #2  
Old 08-18-2008, 11:21 AM
Default Re: libpthread.a(shr_xpg5.o) issue on AIX 5.3 TL 04 & 05

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

Thus the latest fixpacks for these TL are:
AIX 5300-5-CSP with a: bos.rte.libpthreads.5.3.0.51 from 5300-05-05
AIX 5300-4-CSP with a: bos.rte.libpthreads.5.3.0.41 from 5300-04-02

So please check if you are at the correct CSP/maintenance level and
that the above mentions fileset are installed.

$ oslevel -s
$ lslpp -l bos.rte.libpthreads

hth
Hajo
Reply With Quote
  #3  
Old 08-21-2008, 02: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
  #4  
Old 08-23-2008, 12:34 PM
Default Re: libpthread.a(shr_xpg5.o) issue on AIX 5.3 TL 04 & 05

On Aug 21, 10:26*pm, "Gary R. Hook" wrote:
> 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.


Hi Gary,
Thanks a lot for your help. You are very right the build
system has 5.3.8.0 fileset of bos.rte.libpthreads and that's what is
causing issues. I will move it to the lower level and I hope after
that I will be able to run that on all TL's of 5.3.

Regards,
Amit
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 03:33 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.