Operating System - Linux
1748215 Members
3555 Online
108759 Solutions
New Discussion юеВ

Perl on Itanium hpux 11.23 lib error

 
MUFTI Rachid
Frequent Advisor

Perl on Itanium hpux 11.23 lib error

Hello,

I am getting this error on a make :

make
cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +DSitanium2 +Ofltacc=strict -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" +Z "-I/opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/CORE" CtCmd.c
Running Mkbootstrap for ClearCase::CtCmd ()
chmod 644 CtCmd.bs
rm -f blib/arch/auto/ClearCase/CtCmd/CtCmd.so
LD_RUN_PATH="/usr/atria/shlib:/usr/lib/hpux32" /usr/bin/ld -b +vnocompatwarnings -L/usr/lib/hpux32 CtCmd.o +b: -E -L/usr/lib -l:libcl.0 -l:libc.0 -o blib/arch/auto/ClearCase/CtCmd/CtCmd.so -L/projets/edv/home/nlecorvi/CtCmd -L/usr/atria/shlib -latriacmdsyn -latriacmd -latriasumcmd -latriasum -latriamsadm -latriamntrpc -latriacm -latriavob -latriaview -latriacm -latriadbrpc -latriatirpc -latriaxdr -latriamvfs -latriatbs -latriaadm -latriasplit -latriacredmap -latriaks -lezrpc -lrpcsvc -latriaccfs -latriasquidad -latriasquidcore -lcurses -lrpcsvc -lcurses -latriamsadm -latriamsinfobase -latriamsinfovob
ld: Mismatched ABI (not an ELF file) for -llibcl.0, found /usr/lib/libcl.0
Fatal error.
*** Error exit code 1

 

-----------------------------------------

 

P.S. This thread has been moved from System Administration to Languages & Scripting - Forum Moderator

6 REPLIES 6
H.Merijn Brand (procura
Honored Contributor

Re: Perl on Itanium hpux 11.23 lib error

Your perl is 64bit (IA64-multi-thread), that library is 32bit.

Your Makefile misses +DD64, and your -L/usr/lib/hpux32 should be -L/usr/lib/hpux64

If your clear-case libs are 32bit only, stop trying any further, it wont work, you'll need a 32bit perl then.

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Dennis Handly
Acclaimed Contributor

Re: Perl on Itanium hpux 11.23 lib error

Your link line is illegal.

Remove -L/usr/lib -l:libcl.0 -l:libc.0. These are 9.x shlibs and PA shlib paths.

The proper shlibs are -lc (which is automatically added to executables so don't add it) and -lunwind.

>LD_RUN_PATH=

This is meaningless for ld nor dld on HP-UX.

>H.Merijn: Your perl is 64bit (IA64-multi-thread)

It isn't obvious why you think this? But if those incorrect PA shlibs are removed, you would get confirmation by the next ld error.

>your -L/usr/lib/hpux32

Since this is the default, it should just be removed so ld can select the right path.
H.Merijn Brand (procura
Honored Contributor

Re: Perl on Itanium hpux 11.23 lib error

the command as pasted very has the piece:

+Z "-I/opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/CORE"

which to me wrongly indicated a -Dusethreads -Duse64bitall build on Itanium. I just double-checked, a 64bit Itanium build will have

IA64.ARCHREV_0-LP64

Sorry for the confusion. I make errors too.

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
MUFTI Rachid
Frequent Advisor

Re: Perl on Itanium hpux 11.23 lib error

Hello,

After removing the otions :

-L/usr/lib -l:libcl.0 -l:libc.0

it is working fine.

Thanks for your help.

RM
MUFTI Rachid
Frequent Advisor

Re: Perl on Itanium hpux 11.23 lib error

Another point for resolving this case was the replacing of the -lHcurses by -lcurses on the Makefile.PL

Thanks a lot for your help.

RM
Dennis Handly
Acclaimed Contributor

Re: Perl on Itanium hpux 11.23 lib error

You haven't assigned any points yet. You need to push that button separately from closing it.
You can reopen threads by:
http://forums.itrc.hp.com/service/forums/helptips.do?#41