From owner-freebsd-questions Sat Jun 20 20:09:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAB20930 for freebsd-questions-outgoing; Sat, 20 Jun 1998 20:09:05 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.creative.net.au (mail.creative.net.au [203.56.168.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA20783 for ; Sat, 20 Jun 1998 20:07:42 -0700 (PDT) (envelope-from adrian@mail.creative.net.au) Received: from mail.creative.net.au (localhost.creative.net.au [127.0.0.1]) by mail.creative.net.au (8.8.5/8.7) with ESMTP id LAA11220; Sun, 21 Jun 1998 11:06:44 +0800 (WST) Message-Id: <199806210306.LAA11220@mail.creative.net.au> To: "Kevin G. Eliuk" cc: Adrian Chadd , freebsd-questions@FreeBSD.ORG Subject: Re: DBI/Perl5 going under 2.2.6-REL.. In-reply-to: Your message of "Sat, 20 Jun 1998 12:31:06 MST." Date: Sun, 21 Jun 1998 11:06:44 +0800 From: Adrian Chadd Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Kevin G. Eliuk" writes: >=> mysql works fine. But when I try to include the DBI stuff I get: >=> Can't find 'boot_DBI' symbol in /usr/local/lib/perl5/site_perl/i386-freebsd >/auto/DBI/DBI.so >=> at /home/waix/bin/test.pl line 3 >=> BEGIN failed--compilation aborted at /home/waix/bin/test.pl line 3. >=> >=> >=> Which is rather annoying. >=> >=> All test.pl is is this: >=> >=> use DBI; >=> >=> 0; >=> >=> >=> If I use DBI::mysql.. I get a similar error to the above one, but the error >=> comes from mysql.pm not test.pl . >=> >=> Any ideas? > >This is what you do. > ># cd /usr/bin ># mv perl perl4.0 ># ln -s /usr/local/bin/perl perl ># ls -l perl* >lrwxrwxrwx 1 root bin 19 May 10 20:10 /usr/bin/perl -> /usr/local/bin/p >erl >-r-xr-xr-x 1 bin bin 274432 Mar 24 17:52 /usr/bin/perl4.0 > >In future you may find some other makes may have a problem perl5.0004. >Other than that you'll not have to ever revert it back. At least I >haven't. root@darthvader:~# perl -v This is perl, version 5.004_04 built for i386-freebsd Copyright 1987-1997, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5.0 source kit. -- Its the first thing I do. :-) Any other ideas? Adrian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message