Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

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

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
Honored Contributor 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?
Highlighted
Acclaimed Contributor Acclaimed Contributor

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

[ Edited ]

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"?