09-21-2006 03:09 AM
When we are trying to run the executable (PCRG_Srvr) it runs but unable perform some functionality containing the functions that we are getting while bringing up the server.
Some part of the error
/usr/lib/dld.sl: Unresolved symbol: IF_GetC12000Hoff__FP15IF_TMP_TXN_DATAPcP16SYS_ERRO
/usr/lib/dld.sl: Unresolved symbol: IF_GetS016Hoff__FP15IF_TMP_TXN_DATAPcP16SYS_ERROR_
/usr/lib/dld.sl: Unresolved symbol: IF_CreateS654Hoff__FP15IF_TMP_TXN_DATAPcP16SYS_ERR
/usr/lib/dld.sl: Unresolved symbol: IF_CreateLCCB21__FP15IF_TMP_TXN_DATAPcP16SYS_ERROR
/usr/lib/dld.sl: Unresolved symbol: IF_CreateLCCB22__FP15IF_TMP_TXN_DATAPcP16SYS_ERROR
chatr(error): dl_header_ext.size != sizeof(dl_header_ext). Please update your version of the chatr tool.
shared library dynamic path search:
SHLIB_PATH enabled first
embedded path disabled second Not Defined
shared library list:
shared library binding:
global hash table disabled
plabel caching disabled
global hash array size:1103
global hash array nbuckets:3
shared vtable support disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
data page size: D (default)
instruction page size: D (default)
ldd of libRGlib.sl also show the same error. So I greped for the function in my code and found the functions in another
shared libraray libTIPS_IF.sl.
nm++ libTIPS_IF.sl | grep IF_GetC12000Hoff
IF_GetC12000Hoff(IF_TMP_TXN_DATA *,char *,SYS_ERROR_STRUCT *)| 1013452|extern|entry |
IF_GetC12000Hoff(IF_TMP_TXN_DATA *,char *,SYS_ERROR_STRUCT *)| 1013532|extern|code |$CODE$
S$17$IF_GetC12000Hoff(IF_TMP_TXN_DATA *,char *,SYS_ERROR_STRUCT *)| 1128512|static|data |$LIT$
While doing ldd of the library getting the following error but I hope this is not an error as it comes for all shared libraries.
/usr/lib/dld.sl: Unresolved symbol: symbol not found: __shlinit (libTIPS_IF.sl)
I checked SHLIB_PATH also it contains the required paths where the all the libraries lies.
File out out of the binaries and servers.
PCRG_Srvr: PA-RISC1.1 shared executable dynamically linked -not stripped
libRGlib.sl: PA-RISC1.1 shared library -not stripped
libTIPS_IF.sl: PA-RISC1.1 shared library -not stripped
Running it on a unix machie with following specification.
HP-UX uxhyd02 B.11.11 U 9000/800 172400551 unlimited-user license
aCC: HP ANSI C++ B3910B A.03.50
But the same sorce code / binary is working on differnet machine. So as I think there is nothing wrong in the code or paths.
Can any one please suggest how to resolve the issue.
Thanks in advance
09-21-2006 03:20 AM
check the patch level of this ws and one where the script is running well.
'swlist -l product|grep link'
You should use the newest patch of:
ld(1) and linker tools cumulative patch
09-21-2006 03:35 AM
aCC: HP ANSI C++ B3910B A.03.50 is old. You should try upgrading to PHSS_33944. http://www1.itrc.hp.com/service/patch/patchDetail.
09-21-2006 02:14 PM - edited 10-29-2011 02:01 AM
The version of the compiler shouldn't make a difference. You should use:
odump -slexport ibTIPS_IF.sl | grep IF_GetC12000Hoff__FP15IF_TMP_TXN_DATAPcP16SYS_ERRO
To see if the symbol is exported.
__shlinit should be found in libCsup.2.
Have you tried "ldd PCRG_Srvr"?
09-21-2006 10:23 PM
The required details are .
swlist -l product|grep link
Networking B.11.11 HP-UX_Lanlink_Product
PHKL_27949 1.0 shm_lock scaling; shm_open-shm_unlink audit
PHKL_28185 1.0 Tunable;vxportal;vx_maxlink;DMAPI NFS hang
SNAplus2-Link R188.8.131.52 Supports communication over SDLC, QLLC, and LAN links
Please suggest which patch should we apply ?
And will the patch resolve the issue ?
Thanks for your reply.
Thanks for the suggestion. But the same version of aCC is there in our other machines where the code is working fine.
As per your suggestion we tried the ldump also and the output is like
odump -slexport libTIPS_IF.sl | grep IF_GetC12000Hoff
000000013 000000003 00000 0x000f76cc Code 000000,155 00 IF_GetC12000Hoff__FP15IF_TMP_TXN_DATAPcP16SYS_ERRO
000000032 000000013 -0001 0x40001510 Plab 000000,155 00 IF_GetC12000Hoff__FP15IF_TMP_TXN_DATAPcP16SYS_ERRO
And libCsup.2. already included in the shared library list of our binary as it is in the chatr output of the executable.
We had tried ldd PCRG_Srvr and in that also getting the same error.
/usr/lib/dld.sl: Unresolved symbol: symbol not found: IF_GetC12000Hoff__FP15IF_TMP_TXN_DATAPcP16SYS_ERRO
/usr/lib/dld.sl: Unresolved symbol: symbol not found: IF_GetS016Hoff__FP15IF_TMP_TXN_DATAPcP16SYS_ERROR_
Thanks for the reply.
Thanks to all.
09-24-2006 07:13 PM
I only have the Europian link:
The patch is PHSS_33037.
Maybe if you change the 'www4' to 'www2' or 'www1' you come to the Asian site, else you have to search from 'patch database'.
Your executable looks for 32bit libraries, it seems to be an old exe, but I think it should run.
What's about the other maschine:
'But the same sorce code / binary is working on differnet machine. So as I think there is nothing wrong in the code or paths.'
Can you see any differences in patch level or OS? (HP-UX 10.20? 11.0?)
09-25-2006 12:11 PM
>We had tried ldd PCRG_Srvr and in that also getting the same error.
Try chatr PCRG_Srvr instead. Does it showlibTIPS_IF.sl?