- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Linking Fatal Error
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
Forums
Discussions
Discussions
Discussions
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
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
02-03-2011 11:12 PM
02-03-2011 11:12 PM
B.so depends on,say, C.so.
A.so <- B.so <- C.so
On my system B.so present but C.so is not present.
So while linking I am getting
Fatal Error : ld: Can't find dependent library C.so
Linkline:
/usr/ccs/bin/ld -b +nosymb _ZTS* -o A.so +pi 16M +pd 16M +s -B immediate -Llibs/ a.o -lB
As per my understanding there should not be any linking error.
Please help me to circumvent linking error.
Thanks
Solved! Go to Solution.
- Tags:
- linking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2011 01:35 AM - edited 07-09-2011 03:24 PM
02-04-2011 01:35 AM - edited 07-09-2011 03:24 PM
Solution>On my system B.so present but C.so is not present.
(You need to have the turtles all the way down. :-)
>As per my understanding there should not be any linking error.
Where does it say this?
You'll need to create an "empty" shlib or possibly create a symlink to libc.so.1.
Note: You should NOT be using ld directly to create aC++ shlibs, use "aCC -b".