Operating System - HP-UX
1753701 Members
4842 Online
108799 Solutions
New Discussion юеВ

Re: What does "symbol not found:" means

 
nallamolu
Advisor

What does "symbol not found:" means

Hi World,

I have tried to load the executable. I got the error java.lang.unsupporttedlinkerror:can't load symbol not found

I tried the ldd option. i got the below out put. what it actually means.

ldd -d libHPUXItanium64Stats.so
libstd_v2.so.1 => /usr/lib/hpux64/libstd_v2.so.1
libCsup.so.1 => /usr/lib/hpux64/libCsup.so.1
libunwind.so.1 => /usr/lib/hpux64/libunwind.so.1
libm.so.1 => /usr/lib/hpux64/libm.so.1
libuca.so.1 => /usr/lib/hpux64/libuca.so.1
symbol not found: _nl_radix (/usr/lib/hpux64/libstd_v2.so.1)
symbol not found: __nl_char_size (/usr/lib/hpux64/libstd_v2.so.1)
symbol not found: __iob (/usr/lib/hpux64/libstd_v2.so.1)
symbol not found: __ismt (/usr/lib/hpux64/libstd_v2.so.1)
symbol not found: __memmove_ver (/usr/lib/hpux64/libstd_v2.so.1)
symbol not found: __iob (/usr/lib/hpux64/libCsup.so.1)
symbol not found: __ismt (/usr/lib/hpux64/libCsup.so.1)
symbol not found: __memmove_ver (/usr/lib/hpux64/libCsup.so.1)
symbol not found: __load_info (/usr/lib/hpux64/libunwind.so.1)
symbol not found: __iob (/usr/lib/hpux64/libunwind.so.1)
symbol not found: __ismt (/usr/lib/hpux64/libunwind.so.1)

Thanks in advance
Gopi
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: What does "symbol not found:" means

Hi:

The linker is showing you the symbols (code or data) that your object file is referencing and the shared libraries or executables that are, or whould be, loaded to honor them.

Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: What does "symbol not found:" means

>java.lang.unsupporttedlinkerror: can't load symbol not found

This is a garbage java error message. What is the symbol in question?

>I tried the ldd option. I got the below output. what it actually means?

It means you used the wrong command. A proper command would have told you what unsats you have. You currently have none. The listed symbols are all defined in libc.
Dennis Handly
Acclaimed Contributor

Re: What does "symbol not found:" means

>JRF: The linker is showing you the symbols (data) that your shlib is referencing and the shared libraries or executables that are, or would be, loaded to honor them.

You mean dynamic loader, not linker. And the symbols with "symbol not found" aren't in any of the dependent shlibs.