Re: DBD::Oracle Installation problem



Christian,

Thanks for the support. I was able to resolve my error as per your
instructions.

I also got other errors due to improper settings of some environment
variables. I resolved those after going through a very good DBD::Oracle
installation guide at
http://www.nntp.perl.org/group/perl.dbi.oracle-oci/102. Hope this helps
others.

Thanks,
Sangeeth



Christian Merz wrote:

> Hello Sangeeth,

> the problem is a 32/64 bit mismatch of your perl (32bit) and your oracle
(64bit)
> libs: 'wrong ELF class'.

> our system group fixed this problem by:
> * before running
> perl Makefile.PL
> * edit your file
> $ORACLE_HOME/rdbms/lib/env_rdbms.mk
> * by changing
> LIBDIR=lib to LIBDIR=lib32
> * after the DBD::Oracle installation you should reset your env_rdbms.mk
> HTH,
> Christian
> ---------------------------------------------------------
> Landeshauptstadt München
> Direktorium - AFID 3.3 - Oracle DBA
> C.A. Merz

> ----- Original Message -----
> From: "PerlDiscuss - Perl Newsgroups and mailing lists"
> <sangeeth.vs@xxxxxxxxxxxx>
> To: <dbi-users@xxxxxxxx>
> Sent: Tuesday, April 26, 2005 12:54 PM
> Subject: DBD::Oracle Installation problem


> > Hi,
> >
> > When I install DBD::Oracle module, I get the following error.
> >
> > =============================
> > ld: fatal: file /oracle/product/10/lib//libclntsh.so: wrong ELF class:
> > ELFCLASS64
> > ld: fatal: File processing errors. No output written to
> > blib/arch/auto/DBD/Oracle/Oracle.so
> > collect2: ld returned 1 exit status
> > *** Error code 1
> > make: Fatal error: Command failed for target
> > `blib/arch/auto/DBD/Oracle/Oracle.so'
> > /usr/ccs/bin/make -- NOT OK
> > Running make test
> > Can't test without successful make
> > Running make install
> > make had returned bad status, install seems impossible
> > ====================================
> >
> > Here's the output of perl -V
> >
> > ============================
> > Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
> > Platform:
> > osname=solaris, osvers=2.8, archname=sun4-solaris
> > uname='sunos parker 5.8 generic_117350-07 sun4u sparc sunw,ultra-4 '
> > config_args='-de'
> > hint=recommended, useposix=true, d_sigaction=define
> > usethreads=undef use5005threads=undef useithreads=undef
> > usemultiplicity=unde
> > f
> > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
> > use64bitint=undef use64bitall=undef uselongdouble=undef
> > usemymalloc=n, bincompat5005=undef
> > Compiler:
> > cc='gcc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include
> > -D_LARGE
> > FILE_SOURCE -D_FILE_OFFSET_BITS=64',
> > optimize='-O',
> > cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
> > ccversion='', gccversion='3.3.2', gccosandvers='solaris2.8'
> > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
> > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
> > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
> > lseeksize
> > =8
> > alignbytes=8, prototype=define
> > Linker and Libraries:
> > ld='gcc', ldflags =' -L/usr/local/lib '
> > libpth=/usr/local/lib /usr/lib /usr/ccs/lib
> > libs=-lsocket -lnsl -ldl -lm -lc
> > perllibs=-lsocket -lnsl -ldl -lm -lc
> > libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
> > gnulibc_version=''
> > Dynamic Linking:
> > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
> > cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
> >
> >
> > Characteristics of this binary (from libperl):
> > Compile-time options: USE_LARGE_FILES
> > Built under solaris
> > Compiled at Mar 21 2005 23:54:20
> > @INC:
> > /usr/local/lib/perl5/5.8.6/sun4-solaris
> > /usr/local/lib/perl5/5.8.6
> > /usr/local/lib/perl5/site_perl/5.8.6/sun4-solaris
> > /usr/local/lib/perl5/site_perl/5.8.6
> > /usr/local/lib/perl5/site_perl
> > .
> > ============================
> >
> > Could you please help me out? Thanks in advance.
> >
> > Sangeeth VS
> >


.



Relevant Pages

  • RE: SBS 2k3 SP1 : Cannot install Sharepoint Services
    ... I know that you cannot WSS on SBS 2003 SP1 server. ... After finish the installation, ... <Contacts public folder. ... <I found a lot of solutions but the resolve doesn't work on my server. ...
    (microsoft.public.windows.server.sbs)
  • RE: DBI - error
    ... This is not a DBI or a perl issue. ... Read your error stack and resolve your Oracle issue. ... Tech Mahindra, formerly Mahindra-British Telecom. ...
    (perl.dbi.users)
  • RE: Update Failures KB834707, KB885884
    ... Please try following the steps listed below to resolve the issue you are ... the Windows Update site is unable to modify ... > George, after you have run both the commands, ... > Update site and see if you can install the updates. ...
    (microsoft.public.windowsxp.general)
  • RE: OfficeJet 7410 All-in-One & 2003 Terminal Services - HELP
    ... The person I was trying to resolve this for lost contact ... A Remote Desktop user with WinXP Pro SP2 with a locally installed ... >> Terminal Server and confirmed a correct driver install; ... >> connecting the 7410 to a laptop outside of our network and was able to ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: XP Service Pack 2
    ... A blanket statement of "do not install" is usually bad information ... Laptops are largely proprietary and thus the manufacturer should be ... > news is that Clinton did not live a good life. ... >> Exactly what issues does the tech feel Microsoft should resolve ...
    (microsoft.public.windowsxp.general)