From owner-freebsd-questions Tue Sep 25 7:39: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cliff.wamnet.com (cliff.wamnet.com [208.50.249.21]) by hub.freebsd.org (Postfix) with ESMTP id 0C2E537B416 for ; Tue, 25 Sep 2001 07:39:03 -0700 (PDT) Received: from ndm.wamnet.com (ndm.wamnet.com [172.17.38.2]) by cliff.wamnet.com (8.11.4/8.11.4) with ESMTP id f8PEbgf1482690; Tue, 25 Sep 2001 09:37:42 -0500 (CDT) Received: from ds.cops.wamnet.com (ds.cops.wamnet.com [172.17.31.2]) by ndm.wamnet.com (8.9.1a/8.9.1) with ESMTP id JAA5782059; Tue, 25 Sep 2001 09:37:41 -0500 (CDT) Received: from y.cops.wamnet.com (y.cops.wamnet.com [172.17.31.43]) by ds.cops.wamnet.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id JAA63519; Tue, 25 Sep 2001 09:37:47 -0500 (CDT) Date: Tue, 25 Sep 2001 09:37:46 -0500 (CDT) From: Lee J Carmichael X-Sender: lcarmich@y.cops.wamnet.com To: Matthew Blacklow Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DBI error In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Matthew, It looks like the perl version you are using doesn't have DBI installed. I would do a find on the @INC tree (you can get this by using perl -V) to see if it exists. Did you install DBI yourself or was it on the system? Also, I often have problems with several different perl trees on a system and only one having the DBI mod. -------- Lee Carmichael WAM!NET Inc. System Engineer 655 Lone Oak Rd Building E 651-256-5292 Eagan, MN 55121 On Tue, 25 Sep 2001, Matthew Blacklow wrote: > I am writing a perl script however i get the following error message. > > Can't locate DBI.pm in @INC (@INC contains: /usr/libdata/perl/5.00503/mach > /usr/libdata/perl/5.0 > 0503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd > /usr/local/lib/perl5/site_perl/5.005 .) a > t /usr/sbin/scriptname line 9. > > > Is there something I have not installed or do i have to modify a setup file? > I have installed mod_perl and p5_apache_DBI and still getting this error. > > Any suggestions would be welcomed. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message