- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to find Unresolved 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
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
08-29-2000 04:45 PM
08-29-2000 04:45 PM
/usr/lib/dld.sl: Unresolved symbol: CERT_GetCertUid (code) from /usr/netscape/server4/bin/https/lib/libns-httpd40.sl
....
I've put every possible ibls into the LD_LIBRARY_LPATH & SHLIB_PATH, but it seems no effect.
Is there any effective way to find the Unresolved symbol?
Solved! Go to Solution.
- Tags:
- unsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 10:45 PM
08-29-2000 10:45 PM
Re: How to find Unresolved symbol
The only way I know to try and track down where the unresolved symbol is to do a strings on every library file and pipe it into grep for your symbol. eg;
cd /usr/lib
strings lib* | grep -i CERT_GetCertUid
Check all your library dirs as in your path variables. Hopefully you will find the library where this symbol is defined and can modify your compilation process to include it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 11:38 PM
08-29-2000 11:38 PM
Re: How to find Unresolved symbol
nm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 01:30 AM
08-30-2000 01:30 AM
Solutionls lib* | xargs -i grep -l CERT_GetCertUid {}
Then you have to look in which of them you find the symbol not with the text:
|undef |code
because they need the library you are searching for too.
Try it with the library with a text similary to:
CERT_GetCertUid | 96|extern|entry |$CODE$
Perhaps you has to compile the program then with -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 10:27 AM
08-30-2000 10:27 AM
Re: How to find Unresolved symbol
Christian, could explain in more details how to use |undef|code and CERT.... etc. I'm not clear how to use them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2000 01:25 AM
09-01-2000 01:25 AM
Re: How to find Unresolved symbol
if you find a library with a output from nm like: CERT_GetCertUid | undef |code, that's not the library with the code for that symbol, but the library uses this symbol too. So you must find a library where the code for the symbol is inside, the nm output should looks like:
CERT_GetCertUid | extern|entry |$CODE$
This library you should add to the linkage process with -l
So do you find the correct library?
Hope that will help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2000 04:18 AM
09-01-2000 04:18 AM
Re: How to find Unresolved symbol
that you can use when linking. The linker will tell which module references it. man ld has more information on it. This is often useful in tracking down where the reference is made. I've used it to track down a typo's on extern's....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2000 04:20 AM
09-01-2000 04:20 AM
Re: How to find Unresolved symbol
that you can use when linking. The linker will tell which module references it. man ld has more information on it. This is often useful in tracking down where the reference is made. I've used it to track down a typo's on extern's....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2011 02:05 PM
08-28-2011 02:05 PM
Re: How to find Unresolved symbol
Instead of doing xargs, you can just use nm:
nm -pxAN lib* | grep CERT_GetCertUid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2011 05:42 AM
08-29-2011 05:42 AM
Re: How to find Unresolved symbol
Hi:
Wow, another 11-year old thread with a current response. Why?!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2011 09:30 AM
08-29-2011 09:30 AM
Re: How to find Unresolved symbol
>another 11-year old thread with a current response. Why?
How else am I going to nominate them for a knowledge base article. ;-)
(The proximate cause was I thought I was clicking Next but it went to the last page.)-: