RE: Can't load perl module DBD::Oracle 1.15 on aix 5.2

From: Zhuz (ZhuZ_at_honi.com)
Date: 01/29/04

  • Next message: Tim Bunce: "Re: DBD-Oracle-1.14 and Oracle 9i"
    To: "'Tim Bunce'" <Tim.Bunce@pobox.com>
    Date: Wed, 28 Jan 2004 18:20:29 -0600
    
    

    FYI

    If you log on as root, you will have no problem to load DBD module.

    -----Original Message-----
    From: Tim Bunce [mailto:Tim.Bunce@pobox.com]
    Sent: Wednesday, January 28, 2004 5:14 PM
    To: ZhuZ
    Cc: 'dbi-user@perl.org'; 'Tim.Bunce@pobox.com'
    Subject: Re: Can't load perl module DBD::Oracle 1.15 on aix 5.2

    On Wed, Jan 28, 2004 at 03:04:19PM -0600, ZhuZ wrote:
    > ERROR description:
    > perl -MDBD::Oracle -e "print $DBD::Oracle::VERSION"
    >
    > Can't load
    > '/usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi/auto/DBD/Oracle/
    > Oracle.so' for module DBD::Oracle: Permission denied at
    > /usr/opt/perl5/lib/5.8.0
    > /aix-thread-multi/DynaLoader.pm line 229.
    > at -e line 0

    > products I used:
    > DBI version 1.40
    > DBD::Oracle version 1.15
    > <http://homepage.eircom.net/~timbunce/DBD-Oracle-1.15-rc3-20040123.tar.gz>

    Please now use the one on CPAN.

    > Oracle 9.2.0.4.0 - default 64 bit application with 32 bit libraries
    > AIX 5.2.0.0 - 64 bit kernel
    > perl, v5.8.0 built for aix-thread-multi
    > C for AIX Compiler, Version 6
    >
    > installation steps:
    > 1. #perl Makefile.PL -m $ORACLE_HOME/rdbms/demo/demo_rdbms32.mk
    > 2. #vi Makefile, replace -q32 with -b32 for link option OTHERLDFLAGS

    It would be good if you could send me a patch that implements this edit
    in Makefile.PL so others on AIX would benefit.

    > 3. #make
    > 4. #make install

    Do you usually install modules without testing them first?

    > 4. #make install
    > /usr/bin/perl -p -e "s/~DRIVER~/Oracle/g"
    > /usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi/auto/DBI/Driver.xst >
    > Oracle.xsi

    Your make install did some recompiling. I don't trust the problem report.

    Start over in a fresh directory. Run make test. If that passes then any
    problems you have after that are not related to DBD::Oracle itself.

    Tim.


  • Next message: Tim Bunce: "Re: DBD-Oracle-1.14 and Oracle 9i"

    Relevant Pages

    • AW: The most efficient method of getting the load average
      ... We use CACTI to monitor our systems ... With this GPL software you get load graphs using SNMP. ... Von: IBM AIX Discussion List Im Auftrag von Tor Bendiksen ...
      (AIX-L)
    • Re: RS/6000 model 42T
      ... Somewhere I've got a set of AIX 4.3.X CDs that I'll want to load. ... If your hard drive lacks a bootable OS then it will probe your tape/cd drives ... "Live Free or Die, the Only Way to Live" -- NH State Motto ...
      (comp.unix.aix)
    • Re: Is HP-UX and compiers free/cheap for academic use?
      ... >where it's possible to obtain their operating system (AIX), ... >compilers, and a whole load of other stuff free for academic use? ...
      (comp.sys.hp.hpux)
    • Good Packet Sniffer
      ... I have Linux and AIX box ... I want to know what kind of load the T1 has. ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org ...
      (Debian-User)
    • Re: AIX 4.1.4 in LPAR supported ? (SCSI scanner driver needs 4.1.4)
      ... Yes, you could load an instance of AIX into a new LPAR, but only AIX 5.1 and ... So, in short, AIX 4.1.4 wouldn't even load. ... > LPAR ...
      (comp.unix.aix)