Re: DBD DBI Problem



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


.



Relevant Pages

  • Re: ExMerge
    ... is the dll in the \system32 directory? ... > I downloaded ExMerge from microsoft.com and trying to run it but getting ... Prev by Date: ...
    (microsoft.public.exchange.admin)
  • browseui.dll was not found
    ... Suddenly my XP P will not start as I get the error message that ... "browseui.dll was not found" that I should reinstall. ... How can I just add the dll ... Prev by Date: ...
    (microsoft.public.mac.virtualpc)
  • RE: fax notification
    ... Thank you for posting in the SBS newsgroup. ... message "mail system wrong DLL", and the inbound fax cannot was deliver to ... Please copy the exact error message and paste it in your reply. ...
    (microsoft.public.windows.server.sbs)
  • Re: Redirecting stderr
    ... console application that makes calls to the DLL. ... That sounds like a question more appropriate for a Windows ... libraries). ... it doesn't print an error message; ...
    (comp.lang.c)
  • Re: DllImport with ASP.NET ?
    ... > attibute didn't work. ... It was exactly the same error message. ... >> is it possible to use DllImport to call a DLL in ASP.NET? ... >> public static extern int PaqGetVersion(); ...
    (microsoft.public.dotnet.framework.aspnet)