Operating System - Linux
1748179 Members
4016 Online
108758 Solutions
New Discussion юеВ

/usr/lib/hpux64/dld.so: Unsatisfied code symbol 'ABC' in load module my.sl

 
Steve_The_King
Frequent Advisor

/usr/lib/hpux64/dld.so: Unsatisfied code symbol 'ABC' in load module my.sl

Hi,

I am getting the following error when I try to load my module in OHS server on Hpitan-64 bit machine.

/usr/lib/hpux64/dld.so: Unsatisfied code symbol 'ABC' in load module my.sl'.

when I give the command
nm -A my.sl | grep ABC

this is what I get
[4930] | 0| 0|FUNC |GLOB |0| UNDEF|my.sl:ABC
[3660] | 4611686018430708224| 688|FUNC |GLOB |0| .text|my.sl:


Please can somebody explain the meaning of the above two lines in detail.


Thanks!!!


2 REPLIES 2
Steven Schweda
Honored Contributor

Re: /usr/lib/hpux64/dld.so: Unsatisfied code symbol 'ABC' in load module my.sl

"man nm".

> [...]| UNDEF| [...]

Apparently, ABC in my.sl is undefined.

Not being able to see any of the code, or
how it was compiled and linked, puts the
non-psychics among us at a disadvantage when
trying to explain exactly what happened. Is
this new code, or something which has worked
elsewhere?
Dennis Handly
Acclaimed Contributor

Re: /usr/lib/hpux64/dld.so: Unsatisfied code symbol 'ABC' in load module my.sl

nm -A my.sl | grep ABC
>this is what I get
FUNC |GLOB |0| UNDEF|my.sl:ABC
FUNC |GLOB |0| .text|my.sl:<DEMANGLED name of my symbol>

What do you mean "Demangled name...". Please show the exact output. Why did it have "ABC" in it?

Also, where do you think the symbol ABC is defined?

>can somebody explain the meaning of the above two lines in detail.

The first is an unsat for ABC, the cause of your error.
The second is a definition for some symbol that you have kept hidden from us.

Do you expect these symbols to be the same? I.e. you forgot extern "C"?