Works fine over here, with a nearly identical install:
$ oslevel
5.2.0.0
$ perl test.pl
Perl binary = perl
Perl version = 5.008
DBI Version = 1.46
OS = aix
Available Drivers:
        DB2
        DBM
        ExampleP
        File
        Proxy
        Sponge


Quoting [EMAIL PROTECTED]:

> Hi,
>   I installed DBI-1.46 on an AIX box.    The installation seemed to go 
> fine, no errors.     I ran the makefile.pl, make and make test as user 
> db2clnt8.  The make install I had to run as root.    the script runs OK as 
> root but not as db2clnt8.    It gets the error below.
> 
> 
> DBI install logs
> 
> 
>                           
>                                
>         
> 
> 
>  When I run the script I get the following error.
> 
> Script:
> 
> #!/usr/bin/perl 
>  
> use DBI; 
>  
> # Print some useful stuff 
> my $os=$^O; 
> print "Perl binary = $^X\n"; 
> print "Perl Version = $]\n"; 
> print "DBI Version = $DBI::VERSION\n"; 
> print "Operating System: $os\n"; 
>  
> # Check available drivers 
> @ary=DBI->available_drivers; 
> print "Available Drivers:\n"; 
> foreach (@ary) {print "\t$_\n";}; 
> print "\n"; 
> 
> 
> Error
> 
>  
> 
> Can't locate loadable object for module DBI in @INC (@INC contains: 
> /usr/opt/per
> l5/lib/5.8.0/aix-thread-multi /usr/opt/perl5/lib/5.8.0 
> /usr/opt/perl5/lib/site_p
> erl/5.8.0/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.0 
> /usr/opt/perl5/lib
> /site_perl .) at 
> /usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi/DBI.pm line
>  254
> BEGIN failed--compilation aborted at 
> /usr/opt/perl5/lib/site_perl/5.8.0/aix-thre
> ad-multi/DBI.pm line 254.
> Compilation failed in require at dbi_info.pl line 3.
> BEGIN failed--compilation aborted at dbi_info.pl line 3.
> 
> 
> 
> Thanks,
> 
> Steve
> 


Reply via email to