Operating System - HP-UX
1825719 Members
2887 Online
109686 Solutions
New Discussion

Application linker error in HP-itanuim

 

Application linker error in HP-itanuim

Hello all,
Usually our application build on HP-itanium and HP-PARISC. while executing the application on HP-itanium it gives unresolved linker error, but same application works fine in HP-PARISC.

Is there any specific build format change in HP-itanium while creating shared libraries?

Thanks
Jithesh
6 REPLIES 6
Steven Schweda
Honored Contributor

Re: Application linker error in HP-itanuim

It might help if you offered any actual
information about what "our application
build" is doing, and what the actual error
message is.

Output from "uname -a" can be useful, too.
Dennis Handly
Acclaimed Contributor

Re: Application linker error in HP-itanuim

What language are you using? Where should that unsat be defined?
If this occurs at runtime, it is a dld error, not linker.
As Steven asked, what's the message?

Re: Application linker error in HP-itanuim

Thanks for your prompt reply
Sorry for the confusion.
Due to security consideration , i couldn't explain the details about my application. I have tried to write sample application to recreate the same problem, but that works fine.

Here, i will explain you the scenario.

I have one shared library ' say libEx1' built with say 'libEx2' , libEx2 already built with say 'libEx3' , so we tried to attach libEx1 with our sample application. it gives following error.

"/usr/lib/hpux32/dld.so: Unsatisfied data symbol < symbol defined in libEx3> load module 'libEx1'"

I have seen this error only in HP-Itanium (HP-UX hbptc012 B.11.23 U ia64 2931400862 unlimited-user license) , where in HP-PARISC (HP-UX hindi B.11.23 U 9000/800 457514194 unlimited-user license) it works fine.

Thanks
Jithesh
Dennis Handly
Acclaimed Contributor

Re: Application linker error in HP-itanuim

>I have one shared library libEx1 built with say libEx2

libEx1 has a dependent shlib libEx2?

>dld.so: Unsatisfied data symbol load module libEx1"

Is this symbol exported from libEx3?

Re: Application linker error in HP-itanuim


> libEx1 has a dependent shlib libEx2?

Yes, it is dependent.

>dld.so: Unsatisfied data symbol load module libEx1"

Yes, this symbol exported from libEx3
Dennis Handly
Acclaimed Contributor

Re: Application linker error in HP-itanuim

>this symbol exported from libEx3

What tool are you using to check?
elfdump -n .dynsym -s load-module

What version of dld.so do you have? The latest patch is PHSS_39821.