Operating System - HP-UX
1757408 Members
3377 Online
108860 Solutions
New Discussion

Re: Application crahes at start with error aCC runtime: Error 22 from shl_findsym(/usr/lib/libstd.2,__sh

 
AmitNNM
Occasional Advisor

Re: Application crahes at start with error aCC runtime: Error 22 from shl_findsym(/usr/lib/libstd.2,__sh


Hi,

ldd outputs have same number of lib dependencies for both binaries but order is slightly differ.

Following is the gdb output for the binary on the problematic machine.
============================================
Program terminated with signal 6, Aborted.
#0 0xc020da50 in _write_sys+0x10 () from /usr/lib/libc.2
(gdb) bt
#0 0xc020da50 in _write_sys+0x10 () from /usr/lib/libc.2
#1 0xc01a7f74 in regcmp+0x6c () from /usr/lib/libc.2
(gdb) where
#0 0xc020da50 in _write_sys+0x10 () from /usr/lib/libc.2
#1 0xc01a7f74 in regcmp+0x6c () from /usr/lib/libc.2
(gdb)
============================================

Regards,
Amit
Dennis Handly
Acclaimed Contributor

Re: Application crahes at start with error aCC runtime: Error 22 from shl_findsym(/usr/lib/libstd.2,__sh

>Program terminated with signal 6, Aborted.
#0 0xc020da50 in _write_sys+0x10 /usr/lib/libc.2

I'm not sure how that is suppose to be useful?
The error occurred in shl_findsym and libCsup aborted the process.

>ldd outputs have same number of lib dependencies for both binaries but order is slightly differ.

If the order is different, that's a problem. What version of dld do you have on both systems? What settings for SHLIB_PATH?