Here is what I get with a gdb debug of the core file:

root@nimdinf01:/var/tmp/DBD-Oracle-1.27 ] gdb perl core
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix5.1.0.0"...(no debugging symbols 
found)...

warning: core file may not match specified executable file.
Core was generated by `perl5.8.8'.
Program terminated with signal 4, Illegal instruction.
0x00000000 in ?? ()
(gdb)

Not sure what good this will do without the required symbols.



-----Original Message-----
From: Williams, Stephen [mailto:stephen.willi...@twcable.com] 
Sent: Friday, January 28, 2011 4:24 PM
To: ericbamba...@discover.com
Cc: dbi-users@perl.org; John Scoles
Subject: RE: AIX DBD::Oracle perl Makefile.PL core dumps



All standard lib paths. I would have thought it may be the lib lib32 issue but 
even when I attempted to modify the Makefile.PL to point to 32 bit it still 
does the same thing.




-----Original Message-----
From: ericbamba...@discover.com [mailto:ericbamba...@discover.com]
Sent: Friday, January 28, 2011 4:15 PM
To: Williams, Stephen
Cc: dbi-users@perl.org; John Scoles
Subject: RE: AIX DBD::Oracle perl Makefile.PL core dumps

Are you using a nonstandard LIBPATH? Are you mixing/matching 32/64 bit
oracle libraries with a 32/64 bit perl?

We're had to stick to 32 bit oracle libs on our 32 bit AIX for similiar
reasons.


Eric Bambach | Discover
Assoc. Programmer, Warehouse Infrastructure and Tools
2500 Lake Cook Road, Riverwoods IL 60015
P: 224.405.2896 ericbamba...@discover.com




"Williams, Stephen" <stephen.willi...@twcable.com>
01/28/2011 03:02 PM

To
John Scoles <sco...@pythian.com>
cc
"dbi-users@perl.org" <dbi-users@perl.org>
Subject
RE: AIX DBD::Oracle perl Makefile.PL core dumps






root@nimdinf01:/var/tmp/DBD-Oracle-1.27 ] perl Makefile.PL
Illegal instruction (core dumped)

Here is a truss

statx("/usr/opt/perl5/lib/5.8.8/aix-thread-multi/auto/DBI", 0x20008CB8,
128, 010) Err#2  ENOENT
statx("/usr/opt/perl5/lib/5.8.8/auto/DBI", 0x20008CB8, 128, 010) Err#2
ENOENT
statx("/usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi/auto/DBI",
0x20008CB8, 128, 010) = 0
statx("/usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi/auto/DBI/DBI.so",
0x20008CB8, 128, 010) = 0
statx("/usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi/auto/DBI/DBI.bs",
0x20008CB8, 128, 010) = 0
__loadx(0x014D0080, 0x2FF205C0, 0x00000960, 0x2043E708, 0x00000000) =
0xF21CDE80
loadquery(2, 0x20146158, 0x00001000)            = 0
__loadx(0x02000200, 0xF2136400, 0x00003E80, 0xF21CDE80, 0x204451C0) =
0x00000000
__loadx(0x07000000, 0x2043D5C8, 0x00000017, 0xF21CDE80, 0x00000197) =
0xF21D2588
    Received signal #4, SIGILL [default]
*** process killed ***

Also on a side note I am using xlC to compile since it was used by IBM to
compile Perl.



-----Original Message-----
From: John Scoles [mailto:sco...@pythian.com]
Sent: Friday, January 28, 2011 3:59 PM
To: Williams, Stephen
Cc: dbi-users@perl.org
Subject: Re: AIX DBD::Oracle perl Makefile.PL core dumps

 Installing dbd oracle on any version AIX has always been problematic.
Usually you have to rebuild your perl with the exact same version of
compiler that compiled the perl.

If you are using the Perl that comes with AIX that may be hard to do.

As well there are always 64-32 bit issues.

Can you post what happens on the perl Makefile.PL

Cheers
John

On Fri, Jan 28, 2011 at 3:22 PM, Williams, Stephen <
stephen.willi...@twcable.com> wrote:

> Afternoon all,
>
> I am having trouble with trying to compile the DBD drive for Oracle on
my
> AIX 5.3 TL11 host. I have DBI-1.616 installed on the node fine, but when
I
> go to run the perl Makefile.PL I keep getting a core dump. The perl
> installation is the OS supplied perl (information below).
>
> root@testnode:/var/tmp/AIX/DBD-Oracle-1.27<
mailto:root@testnode:/var/tmp/AIX/DBD-Oracle-1.27>
> ] perl Makefile.PL
> Illegal instruction (core dumped)
>
> root@testnode:/var/tmp/AIX/DBD-Oracle-1.27<
mailto:root@testnode:/var/tmp/AIX/DBD-Oracle-1.27>
> ] perl -V
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
>  Platform:
>    osname=aix, osvers=5.3.0.0, archname=aix-thread-multi
>    uname='aix akash79 3 5 00011a85d600 '
>    config_args='-desr -Dinstallprefix=/usr/opt/perl5
> -Dprefix=/usr/opt/perl5 -Dcc=xlc_r -Duseshrplib -Dusethreads'
>    hint=recommended, useposix=true, d_sigaction=define
>    usethreads=define use5005threads=undef useithreads=define
> usemultiplicity=define
>    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
>    use64bitint=undef use64bitall=undef uselongdouble=undef
>    usemymalloc=n, bincompat5005=undef
>  Compiler:
>    cc='cc_r', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
> -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32
> -D_LARGE_FILES -qlonglong',
>    optimize='-O',
>    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1
> -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT'
>    ccversion='9.0.0.2', gccversion='', gccosandvers=''
>    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
>    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
>    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8
>    alignbytes=8, prototype=define
>  Linker and Libraries:
>    ld='ld', ldflags =' -brtl -bdynamic -b32'
>    libpth=/lib /usr/lib /usr/ccs/lib
>    libs=-lbind -lnsl -lgdbm -ldbm -ldb -ldl -lld -lm -lcrypt -lpthreads
-lc
> -lbsd
>    perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd
>    libc=, so=a, useshrplib=true, libperl=libperl.a
>    gnulibc_version=''
>  Dynamic Linking:
>    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='
>  -bE:/usr/opt/perl5/lib/5.8.8/aix-thread-multi/CORE/perl.exp'
>    cccdlflags=' ', lddlflags='-bhalt:4 -bexpall -G -bnoentry -lpthreads
> -lc'
>
>
> Characteristics of this binary (from libperl):
>  Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
>                        PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
>                        USE_PERLIO USE_REENTRANT_API
>  Built under aix
>  Compiled at Jun  2 2009 16:11:40
>  @INC:
>    /usr/opt/perl5/lib/5.8.8/aix-thread-multi
>    /usr/opt/perl5/lib/5.8.8
>    /usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi
>    /usr/opt/perl5/lib/site_perl/5.8.8
>    /usr/opt/perl5/lib/site_perl
>    .
>
> Thanks,
> -Stephen
>
>
>
> ________________________________
> This E-mail and any of its attachments may contain Time Warner Cable
> proprietary information, which is privileged, confidential, or subject
to
> copyright belonging to Time Warner Cable. This E-mail is intended solely
for
> the use of the individual or entity to which it is addressed. If you are
not
> the intended recipient of this E-mail, you are hereby notified that any
> dissemination, distribution, copying, or action taken in relation to the
> contents of and attachments to this E-mail is strictly prohibited and
may be
> unlawful. If you have received this E-mail in error, please notify the
> sender immediately and permanently delete the original and any copy of
this
> E-mail and any printout.
>

--
The best compliment you could give Pythian for our service is a referral.

This E-mail and any of its attachments may contain Time Warner Cable
proprietary information, which is privileged, confidential, or subject to
copyright belonging to Time Warner Cable. This E-mail is intended solely
for the use of the individual or entity to which it is addressed. If you
are not the intended recipient of this E-mail, you are hereby notified
that any dissemination, distribution, copying, or action taken in relation
to the contents of and attachments to this E-mail is strictly prohibited
and may be unlawful. If you have received this E-mail in error, please
notify the sender immediately and permanently delete the original and any
copy of this E-mail and any printout.




Please consider the environment before printing this email.



This E-mail and any of its attachments may contain Time Warner Cable 
proprietary information, which is privileged, confidential, or subject to 
copyright belonging to Time Warner Cable. This E-mail is intended solely for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient of this E-mail, you are hereby notified that any 
dissemination, distribution, copying, or action taken in relation to the 
contents of and attachments to this E-mail is strictly prohibited and may be 
unlawful. If you have received this E-mail in error, please notify the sender 
immediately and permanently delete the original and any copy of this E-mail and 
any printout.

Reply via email to