Re: DBD DBI Problem
- From: said.laoui@xxxxxxx (Said Laoui)
- Date: Thu, 10 Nov 2005 14:15:10 +0100
Thank you for your answer.
I have checked that LD_LIBRARY_PATH is set, and it includes
$II_SYSTEM/ingres/lib.
I check that DBD::Ingres is present (version 0.30).
And i have the following line in my .profile :
LD_LIBRARY_PATH=/lib:/usr/ccs/lib:/usr/ucblib:/usr/local/lib:$II_SYSTEM/ingres/lib:$LD_LIBRAR
Y_PATH; export LD_LIBRARY_PATH
Thank you for your help.
Selon Eric Lenio <dbi-users@xxxxxxxxx>:
> 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: Jonathan Leffler
- Re: DBD DBI Problem
- References:
- DBD DBI Problem
- From: Said Laoui
- Re: DBD DBI Problem
- From: Jonathan Leffler
- Re: DBD DBI Problem
- From: Eric Lenio
- DBD DBI Problem
- Prev by Date: DBI PostgreSQL array has 2 fields, should have 3
- Next by Date: Re: DBD DBI Problem
- Previous by thread: Re: DBD DBI Problem
- Next by thread: Re: DBD DBI Problem
- Index(es):
Relevant Pages
|