Re: DBD DBI Problem



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


Relevant Pages

  • syntax for file handle to use with imap mail_to_file routine
    ... I am completely new to perl trying to modify an existing perl program that ... I am trying to modify a statement of the form ... Here is the exact text from the documentation: ... named '4' and then stops with an error message about an invalid argument ...
    (comp.lang.perl.moderated)
  • RE: Problem
    ... Is an Oracle client installed on the computer you are running this Perl program from? ... I have the following error message when I try to connect to Oracle 10g DB from perl in Linux. ... intended recipient, please be aware that any disclosure, copying, distribution ... sender of the delivery error by replying to this message, or notify us by ...
    (perl.dbi.users)
  • route STDOUT to file
    ... I've written a perl program which, when executed, fork's into the ... background, doing it's job, so that the ssh session which executed it can be ... unknown bug which I can't trace. ... the bug is to execute it in an ssh terminal and leave it open until it ...
    (perl.beginners)
  • Re: embedding perl in C++ program
    ... > perlembed and tried to execute the statements using eval_pv. ... Create the PerlInterpreter in the constructor of the dialog box using ... strRead is the perl program string. ...
    (perl.beginners)
  • RE: need help please
    ... receive the data from the cgi file. ... When I type perl -c bonus.cgi ... And "multiplication" is spelled wrong in one error message. ... Is this a error in my book or a bug in my Perl program? ...
    (perl.beginners)