On Tue, Oct 6, 2009 at 9:30 PM, Umaparvathy Krishnan < [email protected]> wrote:
> Need a favour from you.I am trying to install DBD::Oracle module in the > machine of HP-UX. Facing the error as below.Please help me > > > > $ make > > rm -f blib/arch/auto/DBD/Oracle/Oracle.so > > /usr/bin/ld -Wl,+b"/oracle/ora10g/OraHome/lib32:/usr/lib/hpux32" > -b +vnocompatwarnings -L/usr/lib/hpux32 Oracle.o dbdimp.o oci8.o -o > blib/arch/auto/DBD/Oracle/Oracle.so -L/oracle/ora10g/OraHome/lib32 > -lclntsh -lm -lpthread -lunwind -lnsl > > ld: Unrecognized argument: > -Wl,+b/oracle/ora10g/OraHome/lib32:/usr/lib/hpux32 > > Fatal error. > > *** Error exit code 1 > > Stop. > This strongly suggests to me that you are using a pre-built Perl that was not built with the toolchain (C compiler, assembler and loader) you have installed. So, where did you get Perl from? Did you build it yourself? (I'm 99% positive the answer to that is no. And for the residual 1%, almost all of that says "Yes, I built it on machine A but I'm now building DBD::Oracle on machine B".) You need to look at the output from 'perl -V' and look at the compiler and linker sections. Since Perl was built with a loader (linker) that should recognize the -Wl,+b... notation - or with a C compiler which knows how to translate that into a '+b/oracle/ora10g/...' argument for the loader - what you've got is not the same as what was used to build Perl. Your choices are simple: * Build Perl with what you've got. * Get the tools used to build Perl and build the DBD::Oracle module with them. And, in future, please ask the list the question - not me directly. I might still answer... -- Jonathan Leffler <[email protected]> #include <disclaimer.h> Guardian of DBD::Informix - v2008.0513 - http://dbi.perl.org "Blessed are we who can laugh at ourselves, for we shall never cease to be amused."
