Perl DBD-oracle wont install complains about ld: Mismatched ABI --HP 11.00



I have installed:
http://mirrors.develooper.com/hpux/gcc-4.0.2-11.00.sd.bz
&
http://mirrors.develooper.com/hpux/perl-5.8.8-dor-11.00.sd.bz

# find / -name gcc
/tmp/pa20_64/bin/gcc
/usr/local/pa20_32/bin/gcc
/usr/local/pa20_32/lib/gcc
/usr/local/pa20_32/libexec/gcc
/usr/local/pa20_64/bin/gcc
/usr/local/pa20_64/lib/gcc
/usr/local/pa20_64/libexec/gcc
/var/adm/sw/products/gcc

PERL:
-rwxr-xr-x 2 root sys 4371232 Feb 1 2006
/opt/perl/bin/perl
-rwxr-xr-x 2 root sys 3365299 Feb 1 2006
/opt/perl64/bin/perl
lrwxr-xr-x 1 root sys 18 Nov 21 10:47 /usr/bin/perl
-> /opt/perl/bin/perl
-r-xr-xr-x 1 bin bin 544768 Nov 7 1997
/usr/contrib/bin/perl

I can not load the DBD-Oracle-1.19 module
When I run:
perl Makefile.PL
Every things seem ok, no complaints.

I added the gcc to my $PATH before I began.
# echo $PATH
/usr/local/pa20_64/bin:/usr/bin:/usr/sbin:/sbin

When I run make:
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.sl
/usr/bin/ld +b "/opt/app/oracle/product/8.1.7/lib" -b
-L/pro/local/lib Oracle.o dbdimp.o oci8.o -o
blib/arch/auto/DBD/Oracle/Oracle.sl \
-L/opt/app/oracle/product/8.1.7/lib -lclntsh -lrt -lpthread
\

ld: Mismatched ABI (not an ELF file) for -lclntsh
Fatal error.
*** Error exit code 1

Stop.


I even tried with the:
perl Makefile.PL -l

.



Relevant Pages

  • Re: What causes this 32 bit problem??
    ... I've tested your DBD::Oracle 1.20 against both PA-RISC and Itanium Machines with the 32 bit versions of 5.8.8 perl. ... The gcc 4.2.2 is the same. ... I did a file command on everything in the library links and they're all 64 bit ... *** Error exit code 1 ...
    (perl.dbi.users)
  • Re: gcc loading question
    ... Why gcc 3.3.2 instead of, say, 4.0.0? ... I assume Perl 5.8.6 and not anything earlier... ... > I am trying to load gcc 3.3.2 in order to load and compile perl 5.8 and ... > # chmod 777 objdir ...
    (perl.dbi.users)
  • error while building perl
    ... I just tryed to build perl with the gcc and got this dumped: ... *** Error exit code 1 ... Gruss Christian ...
    (perl.beginners)
  • Re: Make problem Building 64 bit Perl 5.8.8 from source on Solaris 10 with gcc 3.4.6
    ... Upgrade your gcc and get the sun code generator if you want it from SUN... ... But the reason I'm trying to compile Perl from source as 64 bit is to ... non root) on Solaris 10. ... From the INSTALL notes I found reference to the Missing Undefined ...
    (perl.dbi.users)
  • Re: Make problem Building 64 bit Perl 5.8.8 from source on Solaris 10 with gcc 3.4.6
    ... So I'm still trying to find a way to fix this and get Perl installed. ... Solaris 10 with gcc 3.4.6 ... my other email saying that an update to GCC was not crucial. ... compiler or make any changes to the system directories. ...
    (perl.dbi.users)