HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Getting error when change the order of libc.sl, li...
Operating System - HP-UX
1832207
Members
2696
Online
110040
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
Forums
Discussions
Discussions
Discussions
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
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
03-02-2003 06:03 AM
03-02-2003 06:03 AM
Getting error when change the order of libc.sl, libdce.sl and libdld.sl
Hi All,
I am building DCE sample application on HP-UX 11.0 platform. I am creating sample application by linking sample.o with libc.sl, libdce.sl and libdld.sl. When order of linking is -lc -ldce -ldld, sample application is working fine. But if I change the order to -ldld -lc -ldce then I am getting error in DCE API sec_login_setup_identity. The error message is "registry server not available". could you please tell me why I am getting error when I change the order of linking?
I am building DCE sample application on HP-UX 11.0 platform. I am creating sample application by linking sample.o with libc.sl, libdce.sl and libdld.sl. When order of linking is -lc -ldce -ldld, sample application is working fine. But if I change the order to -ldld -lc -ldce then I am getting error in DCE API sec_login_setup_identity. The error message is "registry server not available". could you please tell me why I am getting error when I change the order of linking?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2003 11:23 AM
03-02-2003 11:23 AM
Re: Getting error when change the order of libc.sl, libdce.sl and libdld.sl
This is normal linker behavior. Normally, a library is searched only one and thus the order that libraries are listed is (and always has been) extremely important. In a few pathological cases, it can even be necessary to extract the needed objects from several libraries to create a new library just so that the linker can find everything it needs.
If it ain't broke, I can fix that.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP