Re: Can"t locate loadable object for module DBI in @INC
am 20.08.2002 09:52:28 von Marc TrudeauOn Date: Thu, 15 Aug 2002 11:44:33 +0000, "Anna-Karin Johansson"
>To: msql-mysql-modules@lists.mysql.com
>Subject: problem with make-file
>I'm having a problem running a Perl script with connection to my Mysql
>database. I get the following message:
>Can't locate loadable object for module DBI in @INC
Dear Anna-Karin,
I'm out of my depth here, so I don't know if my experience will help, but
after having installed DBI on my Mac OS X (Unix) installation using Fink (an
OS X package management utility), I got almost the same error message when
running a CGI script that uses DBI. I found the directory (Yours will be
different, but in my case the "DBI" and DBI.pm were in
"/sw/lib/perl5/darwin".) where DBI was located and added the following line
to the CGI script:
BEGIN {
unshift (@INC, "/sw/lib/perl5/darwin");
}
This apparently adds one more search location to "@INC" (whatever that is).
I wish I could supply you the reference for this change or credit the person
or website who supplied it, but I guess I'm not that well organized.
Good luck,
Marc
--
Marc C. Trudeau
Principal
M & T Solutions
2001 Donna Ave.
Endicott, NY 13760
Phone: 607-754-1500
FAX: 607-754-8891
Cel: 607-761-3194
marctrudeau@stny.rr.com
--
------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1890@lists.mysql.com
To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.