FYI

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


-----Original Message-----
From: Tim Bunce [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 5:14 PM
To: ZhuZ
Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
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.

Reply via email to