- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ERROR:dlopen failed: Unsatisfied code symbol '...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2010 01:57 AM
тАО09-10-2010 01:57 AM
ERROR:dlopen failed: Unsatisfied code symbol '__shlTerm'
When I execute my program, This error was occured.
dlopen failed: Unsatisfied code symbol '__shlTerm' in load module '/ideptestdb/app/app/AGENT/lib/libIdepNMP.sl'.
aCC versioin:
#aCC -V
aCC: HP ANSI C++ B3910B A.03.50
#swlist | grep -i ac++
B3913DB C.03.50 HP aC++ Compiler (S800)
oracle version:
9.2.0.8.0
#ldd /ideptestdb/app/app/AGENT/lib/libIdepNMP.sl
libclntsh.sl.9.0 => /source_va/oracle/app/oracle/product/9.2.0/lib/libclntsh.sl.9.0
libnetsnmpagent.sl.16 => /ideptestdb/app/app/AGENT/lib/libnetsnmpagent.sl.16
libnetsnmphelpers.sl.16 => /ideptestdb/app/app/AGENT/lib/libnetsnmphelpers.sl.16
libnetsnmpmibs.sl.16 => /ideptestdb/app/app/AGENT/lib/libnetsnmpmibs.sl.16
libnetsnmp.sl.16 => /ideptestdb/app/app/AGENT/lib/libnetsnmp.sl.16
libpthread.1 => /usr/lib/pa20_64/libpthread.1
libsec.2 => /usr/lib/pa20_64/libsec.2
librt.2 => /usr/lib/pa20_64/librt.2
libnsl.1 => /usr/lib/pa20_64/libnsl.1
libm.2 => /usr/lib/pa20_64/libm.2
libwtc9.sl => /source_va/oracle/app/oracle/product/9.2.0/lib/libwtc9.sl
librt.2 => /lib/pa20_64/librt.2
libpthread.1 => /lib/pa20_64/libpthread.1
libnss_dns.1 => /lib/pa20_64/libnss_dns.1
libdl.1 => /lib/pa20_64/libdl.1
libm.2 => /lib/pa20_64/libm.2
libc.2 => /lib/pa20_64/libc.2
libcl.2 => /lib/pa20_64/libcl.2
libnetsnmp.sl.16 => /ideptestdb/app/app/AGENT/lib/libnetsnmp.sl.16
libc.2 => /lib/pa20_64/libc.2
libnetsnmpagent.sl.16 => /ideptestdb/app/app/AGENT/lib/libnetsnmpagent.sl.16
libnetsnmp.sl.16 => /ideptestdb/app/app/AGENT/lib/libnetsnmp.sl.16
libc.2 => /lib/pa20_64/libc.2
libnetsnmphelpers.sl.16 => /ideptestdb/app/app/AGENT/lib/libnetsnmphelpers.sl.16
libnetsnmpagent.sl.16 => /ideptestdb/app/app/AGENT/lib/libnetsnmpagent.sl.16
libnetsnmp.sl.16 => /ideptestdb/app/app/AGENT/lib/libnetsnmp.sl.16
libnm.sl => /lib/pa20_64/libnm.sl
libc.2 => /lib/pa20_64/libc.2
libc.2 => /usr/lib/pa20_64/libc.2
libm.2 => /usr/lib/pa20_64/libm.2
libdl.1 => /usr/lib/pa20_64/libdl.1
libxti.2 => /usr/lib/pa20_64/libxti.2
libdl.1 => /usr/lib/pa20_64/libdl.1
libdl.1 => /usr/lib/pa20_64/libdl.1
libdl.1 => /usr/lib/pa20_64/libdl.1
Can you tell me how to resolve it?
thanks!
- Tags:
- unsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2010 05:47 PM
тАО09-10-2010 05:47 PM
Re: ERROR:dlopen failed: Unsatisfied code symbol '__shlTerm'
You have an aC++ shlib but you seem to have a C application. You'll have to either relink your shlib or your application.
If you want to have aC++ plugins for C, you need to follow the directions here:
http://docs.hp.com/en/14672/Help/distributing.htm#linking
>A.03.50
This is very old. The latest version is A.03.90 (on 11.23 and 11.31).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2010 07:30 PM
тАО09-12-2010 07:30 PM
Re: ERROR:dlopen failed: Unsatisfied code symbol '__shlTerm'
Yes, I have a C Program to call aC++ shlib, and this problem was resolved by your way, but another problem was occured.
dlopen failed: '/usr/lib/pa20_64/libpthread.1' contains a static TLS reference to '__thread_specific_seg' defined in a d
ynamically loaded library '/usr/lib/pa20_64/libpthread.1'. Use +tls=dynamic to re-compile '/usr/lib/pa20_64/libpthread.1
'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2010 07:18 AM
тАО09-13-2010 07:18 AM
Re: ERROR:dlopen failed: Unsatisfied code symbol '__shlTerm'
>dlopen failed: '/usr/lib/pa20_64/libpthread.1' contains a static TLS reference
You'll have to link your C application with -mt.
You really shouldn't link your shlib with -lpthread, that belongs on the executable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2010 08:57 PM
тАО09-13-2010 08:57 PM
Re: ERROR:dlopen failed: Unsatisfied code symbol '__shlTerm'
this program can running, but a strange thing occured.
no matter where I send a request to this program, the program print the IP and port always 0.0.0.0:0
Received SNMP packet(s) from UDP: [0.0.0.0]->[0.0.0.0]:0
GETNEXT message
-- IDEPAGENT-MIB::csidep
Received 50 bytes from UDP: [0.0.0.0]->[0.0.0.0]:0
0000: 30 30 02 01 01 04 06 70 75 62 6C 69 63 A1 23 02 00.....public?.
0016: 04 0F 9F AF 44 02 01 00 02 01 00 30 15 30 13 06 ...├з ......0.0..
0032: 0F 2B 06 01 04 01 84 F8 68 02 67 02 02 01 01 01 .+.....├й┬┤ .g.....
0048: 05 00
Is there some process changed the IP and port?
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2010 11:23 PM
тАО09-13-2010 11:23 PM
Re: ERROR:dlopen failed: Unsatisfied code symbol '__shlTerm'
Are you multithreaded when this happens?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2010 12:12 AM
тАО09-14-2010 12:12 AM
Re: ERROR:dlopen failed: Unsatisfied code symbol '__shlTerm'
just develop some components on it. May be multi-threaded.
but the codes running OK on AIX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2010 12:38 AM
тАО09-14-2010 12:38 AM
Re: ERROR:dlopen failed: Unsatisfied code symbol '__shlTerm'
Then you need to get out your debugger and find where those zeros come from.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2010 12:42 AM
тАО09-15-2010 12:42 AM
Re: ERROR:dlopen failed: Unsatisfied code symbol '__shlTerm'
The 'zero' error is net-snmp error, I search it on google, the result is net-snmp can't support 64bit for HP.
Tanks very much!
Best Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2010 02:27 AM
тАО09-15-2010 02:27 AM
Re: ERROR:dlopen failed: Unsatisfied code symbol '__shlTerm'
If you are happy with the answers you were given, please read the following on how to assign points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33