On Wed, Nov 09, 2005 at 08:34:39AM -0800, Jonathan Leffler wrote: > On 11/9/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > 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<http://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 > > > > > Which part of the error message don't you understand? Either you don't have > DBD::Ingres installed, or you don't have the Ingres libraries that it > depends on installed. > > > -- > Jonathan Leffler <[EMAIL PROTECTED]> #include <disclaimer.h> > Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org > "I don't suffer from insanity - I enjoy every minute of it."
Check that LD_LIBRARY_PATH is set, and it includes $II_SYSTEM/ingres/lib.
