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

This is a discussion on libpthread.a(shr_xpg5.o) issue on AIX 5.3 TL 04 & 05 - Aix ; 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: ...

+ Reply to Thread
Results 1 to 4 of 4

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

  1. 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

  2. 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

  3. 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.

  4. 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 to Thread