DBD DBI Problem



Hello,
I'm having a trouble when i try to execute a simple perl program.

Perl version : 5.6.1.
OS : SunOS 5.8

The source code:

#!/usr/local/bin/perl -w

use DBI;
use Sys::Hostname;

$dbh = DBI->connect( "dbi:Ingres:kpreprod::maj", "kmaj" );

$dbh->commit ;

I get the following message :

install_driver(Ingres) failed: Can't load '/usr/local/lib/perl5/site_perl/5.6.1/
sun4-solaris/auto/DBD/Ingres/Ingres.so'
for module DBD::Ingres: ld.so.1: perl: fatal: libinterp.1.so: open failed: No
such file or directory at /usr/local/lib/p
erl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at test.pl line 8


Thanks a lot for any help.




.



Relevant Pages

  • Re: DBD DBI Problem
    ... >> I'm having a trouble when i try to execute a simple perl program. ... >> The source code: ... >> use DBI; ... > Which part of the error message don't you understand? ...
    (perl.dbi.users)
  • Error While Trying to Fetch a row
    ... DBD::Sybase - can't change context to database fights ... A copy of the perl program is: ... use DBI; ...
    (perl.dbi.users)
  • RE: how to hide oracle instance name within dbi code??
    ... Place the file in any location specified in @INC, then call it in the perl program "use db;". ... how to hide oracle instance name within dbi code?? ... We have a requirement here that we can't hard code any oracle database ... instance name in a configuration file and somehow pass the information ...
    (perl.dbi.users)
  • perl DBI 1.25 not connectting to Oracle 10g
    ... The directory /home/me/perlmods contains DBI.pm, DBI dir, DBD dir, Bundle, etc ... In my perl program I am using ...
    (perl.dbi.users)
  • Re: Securing source code
    ... > where a Perl program could be really dangerous if the source code gets in ... if the perl program would be 'really dangerous' then so would compiled C ... or Java programs, so would assembler listing, so would assembled ... People such as Counterpane security ...
    (comp.lang.perl.misc)