Re: DBD DBI Problem
- From: dbi-users@xxxxxxxxx (Eric Lenio)
- Date: Wed, 9 Nov 2005 11:55:32 -0500
On Wed, Nov 09, 2005 at 08:34:39AM -0800, Jonathan Leffler wrote:
> On 11/9/05, said.laoui@xxxxxxx <said.laoui@xxxxxxx> 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 <jonathan.leffler@xxxxxxxxx> #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.
.
- Follow-Ups:
- Re: DBD DBI Problem
- From: Said Laoui
- Re: DBD DBI Problem
- References:
- DBD DBI Problem
- From: Said Laoui
- Re: DBD DBI Problem
- From: Jonathan Leffler
- DBD DBI Problem
- Prev by Date: Re: Stored Procedure using perl
- Next by Date: Re: Compiling dbd-oracle on hpux64
- Previous by thread: Re: DBD DBI Problem
- Next by thread: Re: DBD DBI Problem
- Index(es):
Relevant Pages
|