/usr/lib/hpux64/dld.so: Unsatisfied code symbol 'ABC' in load module my.sl (883 Views)
Reply
Frequent Advisor
Steve_The_King
Posts: 43
Registered: ‎04-01-2007
Message 1 of 3 (883 Views)

/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!!!


Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,079
Registered: ‎02-23-2005
Message 2 of 3 (883 Views)

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?
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,898
Registered: ‎03-06-2006
Message 3 of 3 (883 Views)

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

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation