- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unsatisfied code symbol 'opc_connect' in load modu...
Operating System - HP-UX
1748093
Members
5913
Online
108758
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО01-21-2010 04:12 AM
тАО01-21-2010 04:12 AM
Unsatisfied code symbol 'opc_connect' in load module
Hi,
System_Info : HP-UX BAVASOM1 B.11.31 U ia64
Using: cc compiler
I complied opc_templ_assign.c program, and when I run the same it would display this error, please help
root@mysys->./opc_templ_assign
/usr/lib/hpux32/dld.so: Unsatisfied code symbol 'opc_connect' in load module './opc_templ_assign'.
Killed
I used the following options to compile, let me know if that is wrong / correct!
/usr/bin/cc opc_tmpl_cfg.c -c -o opc_tmpl_cfg.o -I /opt/OV/include
then
/usr/bin/cc opc_templ_assign.o -o opc_templ_assign -R/opt/OV/lib -L/opt/OV/lib
Thanks,
Praveen
System_Info : HP-UX BAVASOM1 B.11.31 U ia64
Using: cc compiler
I complied opc_templ_assign.c program, and when I run the same it would display this error, please help
root@mysys->./opc_templ_assign
/usr/lib/hpux32/dld.so: Unsatisfied code symbol 'opc_connect' in load module './opc_templ_assign'.
Killed
I used the following options to compile, let me know if that is wrong / correct!
/usr/bin/cc opc_tmpl_cfg.c -c -o opc_tmpl_cfg.o -I /opt/OV/include
then
/usr/bin/cc opc_templ_assign.o -o opc_templ_assign -R/opt/OV/lib -L/opt/OV/lib
Thanks,
Praveen
- Tags:
- unsat
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 08:10 PM
тАО01-21-2010 08:10 PM
Re: Unsatisfied code symbol 'opc_connect' in load module
You need to use -l to link to your opc library. Something like:
cc opc_templ_assign.o -o opc_templ_assign -lopc -L/opt/OV/lib
How is opc_tmpl_cfg.o related to opc_templ_assign.o?
More information about -L:
http://docs.hp.com/en/14487/options.htm#opt-Ldirectory
What does -R mean? There is no option called -R:
http://docs.hp.com/en/14487/options.htm
cc opc_templ_assign.o -o opc_templ_assign -lopc -L/opt/OV/lib
How is opc_tmpl_cfg.o related to opc_templ_assign.o?
More information about -L:
http://docs.hp.com/en/14487/options.htm#opt-Ldirectory
What does -R mean? There is no option called -R:
http://docs.hp.com/en/14487/options.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 08:12 PM
тАО01-21-2010 08:12 PM
Re: Unsatisfied code symbol 'opc_connect' in load module
you will have to find out where is the symbol 'opc_connect' defined. some shared library should be defining it. likely chances are that some library under /opt/OV/lib/ may be defining this symbol. for example, if a library by name libopccon.so is defining this symbol, then along with the command line you are using, you have to add "-lopccon". and this should come after the -L /opt/OV/lib. basically -l should be after -L. see ld(1) manpage for more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 08:07 PM
тАО01-28-2010 08:07 PM
Re: Unsatisfied code symbol 'opc_connect' in load module
Did my suggestions (above) helped you to resolve the issue?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP