Originally posted by: Mukesh_26
Hello,
32-bit Application built on AIX 5.3(with TL08) when to executed on other AIX 5.3 machine (With TL01) return loader error:
-
oslevel -s
5300-01-00-0000
-
./test
exec(): 0509-036 Cannot load program ./test because of the following errors:
0509-130 Symbol resolution failed for test because:
0509-136 Symbol __pthread (number 7) is not exported from
dependent module /usr/lib/libpthreads.a(shr_xpg5.o).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
After running dump on AIX 5.3 machine i don't see the entries for symbol __pthread in /usr/lib/libpthread.a library. on AIX 5.3(TL01) but on TL08 symbol __pthread is exported.
Any tech alert for this issue ??
++++++++++++++++++++++++++++++++++++++++++++++++
-
oslevel -s
5300-01-00-0000
-
dump -Tv /usr/lib/libpthread.a |grep -i __pthread
[2] 0x00000000 undef ImpExp UA EXTref libpthreads.a(shr_comm.o) __pthread_cleanup_handlerqueue
232 0x00000000 undef IMP DS EXTref libc.a(shr.o) __pthread_init
393 0x00005000 .bss EXP RW BSS
noIMid __pthread_trace
105 0x00001000 .data EXP RW SECdef
noIMid __pthread_trace
114 0x00001180 .bss EXP RW BSS
noIMid __pthread_cleanup_handlerqueue
71 0x00000000 undef IMP DS EXTref libc.a(shr.o) __pthread_init
82 0x00000000 undef ImpExp UA EXTref libpthreads.a(shr_comm.o) __pthread_cleanup_handlerqueue
442 0x00004000 .bss EXP RW BSS
noIMid __pthread_trace
but on build machine it is available:
$ oslevel -s
5300-08-01-0819
$ dump -Tv /usr/lib/libpthread.a |grep -i __pthread
[2] 0x00000000 undef ImpExp UA EXTref libpthreads.a(shr_comm.o) __pthread_cleanup_handlerqueue
[3] 0x00000000 undef ImpExp UA EXTref libpthreads.a(shr_comm.o) __pthread_trace
240 0x00000000 undef IMP DS EXTref libc.a(shr.o) __pthread_init
108 0x00001000 .data EXP RW SECdef
noIMid __pthread_trace
117 0x00001180 .bss EXP RW BSS
noIMid __pthread_cleanup_handlerqueue
74 0x00000000 undef IMP DS EXTref libc.a(shr.o) __pthread_init
85 0x00000000 undef ImpExp UA EXTref libpthreads.a(shr_comm.o) __pthread_cleanup_handlerqueue
86 0x00000000 undef ImpExp UA EXTref libpthreads.a(shr_comm.o) __pthread_trace
450 0x00003c64 .bss EXP RW BSS
noIMid __pthread
$
++++++++++++++++++++++++++++++++++++++++++++++++
thanks
- mukesh
#AIX-Forum