Re: DBD DBI Problem



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.
.



Relevant Pages

  • DBD DBI Problem
    ... I'm having a trouble when i try to execute a simple perl program. ... OS: SunOS 5.8 ... The source code: ... use DBI; ...
    (perl.dbi.users)
  • RE: The definition of the object is hidden
    ... "Preparing files ... Does that mean partial source code is not included in the project files? ... #Improper error message: "The definition of the object is hidden" ... Visual Studio 2008 web project doesn't have ...
    (microsoft.public.dotnet.general)
  • Re: DBI AND DBD-ORACLE
    ... Subject: DBI AND DBD-ORACLE ... I typed uninst DBI and got an error message. ... uninstall DBD-Oracle successfully and tried to reinstall but got another ...
    (perl.dbi.users)
  • Re: I dotn understand this error
    ... i llok at line 43 but cant un derstand what the problem. ... It means the offending line isn't in the source code. ... nothing more can be concluded from the error message. ...
    (comp.lang.perl.misc)
  • Re: Changing default print setting in PowerPoint
    ... I'm getting the same error message. ... help if He'd care to share source code. ... >> Set the security to low, reinstalled it, still doesn't work. ...
    (microsoft.public.powerpoint)