- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dlsym / dlopen - unresolved symbols
Operating System - HP-UX
1784502
Members
2051
Online
109156
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
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
тАО05-18-2000 01:27 AM
тАО05-18-2000 01:27 AM
dlsym / dlopen - unresolved symbols
$ cc -o mymain mymain.c
/usr/ccs/bin/ld: Unsatisfied symbols:
dlopen (code)
dlsym (code)
Does anyone know what's missing? (HPUX 11.00)
The module compiles to object format.
Secondly I'd just like to say that the development team all hate HP for removing the standard sockets functions in HPUX11.00 and replacing with POSIX ones. Migrating the code from 10.20 is causing a great deal of inconvenience and cost. The XDR functions moved libraries and the book Power Programming with RPC appears to have gone out of print since v11. The v11 STK is not good enough.
/usr/ccs/bin/ld: Unsatisfied symbols:
dlopen (code)
dlsym (code)
Does anyone know what's missing? (HPUX 11.00)
The module compiles to object format.
Secondly I'd just like to say that the development team all hate HP for removing the standard sockets functions in HPUX11.00 and replacing with POSIX ones. Migrating the code from 10.20 is causing a great deal of inconvenience and cost. The XDR functions moved libraries and the book Power Programming with RPC appears to have gone out of print since v11. The v11 STK is not good enough.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2000 02:03 AM
тАО05-18-2000 02:03 AM
Re: dlsym / dlopen - unresolved symbols
You are using shared librarys and may link w/ some option.
man dlopen may helps you.
unsupported
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2000 02:08 AM
тАО05-18-2000 02:08 AM
Re: dlsym / dlopen - unresolved symbols
Thanks, yes it was a stupid error on my part. I left out the relevent command line options for compilation and linking:
For anyone else who wants to use a shared library build the modules with these commands:
cc +DD64 -o myprog -ldl mymain.c
cc +DD64 -c +z mylib.c
ld -b -o mylib.sl mylib.o
For anyone else who wants to use a shared library build the modules with these commands:
cc +DD64 -o myprog -ldl mymain.c
cc +DD64 -c +z mylib.c
ld -b -o mylib.sl mylib.o
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