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: How do I replace SCO OpenServer and VisionFS with FBSD and Samba to run FoxPro
    ... I wish to change to FreeBSD ... FreeBSd install CD. ... Then Q to exit. ... Edit the kernel conf file with edit ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Yum
    ... %preunscriptlet failed, exit status 255 ... If the updates install correctly and for real this time, it could be either the package scripts or policy for SELinux at fault. ... It does not sound like a system relabel is needed in this case. ... Because of this error, there might be other packages where the %post or %postun scriptlet failed to set permissions, setup users or similar problems. ...
    (Fedora)
  • Re: g77 problem with -lstdc++
    ... collect2: ld returned 1 exit status ... # yum install compat-libstdc++ ...
    (Fedora)
  • Unable to install Tk-804.028
    ... I just tried to install Tk, but I got some errors from pngread.c: ... collect2: ld returned 1 exit status ... Based on a quick Google search, I'm wondering whether it's the fact I'm using 64-bit Linux that is causing problems. ...
    (comp.lang.perl.tk)
  • Re: Yum
    ... Install 1 Package ... Finished Transaction Test ... %prescriptlet failed, exit status 255 ... error: install: %pre scriptlet failed, skipping openssh-server-4.3p2-19.fc6 ...
    (Fedora)