1826797 Members
3018 Online
109703 Solutions
New Discussion

/usr/bin/ld error

 
fly_fisher
Advisor

/usr/bin/ld error

Hi all,

I'm getting the following errors when trying to install the Dynamic 4GL software in HP-UX 11, 64 bits:

/usr/bin/ld: /usr/fgl2c/lib/fglExt.o: Mismatched ABI. 64-bit PA object file found in 32-bit link.

and
/usr/bin/ld: /usr/fgl2c/lib/libfglr.a: Not a valid library (invalid magic number).
Possibly a 64-bit PA archive library (Mismatched ABI).


Could you help me?
Thanks very much.
Regards.
Catch and release !!!!!!
5 REPLIES 5
Hartmut Lang
Trusted Contributor

Re: /usr/bin/ld error

You have to make shure, that all your objects and libs are either 32-bit or 64-bit but not mixed!

Hardy
harry d brown jr
Honored Contributor

Re: /usr/bin/ld error

What does this show:

getconf KERNEL_BITS

and

uname -a


live free or die
harry
Live Free or Die
fly_fisher
Advisor

Re: /usr/bin/ld error


getconf KERNEL_BITS
64

9000 Hp-UX 11.


How can i check if there is any 32-bit library or object?

Thanks for you quickly answers.
Catch and release !!!!!!
S.K. Chan
Honored Contributor

Re: /usr/bin/ld error

Point LDPATH to 64bit libraries, for example ..
1) /usr/lib/pa20_64
2) /opt/langtools/lib/pa20_64
Steve Steel
Honored Contributor

Re: /usr/bin/ld error

Hi


make sure you have

Patch Name: PHSS_24303

Patch Description: s700_800 11.00 ld(1) and linker tools cumulative patch

Creation Date: 01/09/28

Post Date: 01/11/01


This can help


steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)