From owner-freebsd-database Fri Sep 28 6:24:27 2001 Delivered-To: freebsd-database@freebsd.org Received: from mspmx01.ibsys.com (mspmx01.ibsys.com [199.199.118.25]) by hub.freebsd.org (Postfix) with ESMTP id 2205037B40A for ; Fri, 28 Sep 2001 06:24:23 -0700 (PDT) Received: by MSPMX01 with Internet Mail Service (5.5.2653.19) id ; Fri, 28 Sep 2001 08:23:31 -0500 Message-ID: <9E35C54B0C7AD411B5C1009027DE5399074E0E14@MSPMX01> From: "Weier, Paul" To: "'freebsd-database@freebsd.org'" Subject: DBD: :Oracle Date: Fri, 28 Sep 2001 08:23:30 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-database@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am running FreeBSD 4.3 I am running Oracle 8i (Linux client only...no full DB) I am running Perl 5.6.1 I installed libwww-perl-5.53_97 I installed libnet-1.0704 I installed /cdrom/packages/linux_base I installed DBI-1.20 I am trying to install DBD::Oracle-1.12 # kldstat Id Refs Address Size Name 1 3 0xc0100000 224ce4 kernel 2 1 0xc1ffc000 19000 usb.ko 3 1 0xc2020000 12000 linux.ko SQLPlus works fine with the Linux oracle client...and am able to contact the listener on the oracle server. We have tested perl and it seems to work fine. DBI installed without a hitch. I am getting really beat up trying to get DBD::Oracle to install however. If I do a make I get: /usr/libexec/elf/ld: cannot find -ldl *** Error code 1 Stop in /usr/local/src/DBD-Oracle-1.12. Even if I comment out every occurance of '-ldl' that I can find in the makefile I still get complaints during complilation that it is missing. I removed it in mk.pm and still get complaints. if I do a 'perl Makefile.PL -nob' or the other suggested build techniques I get core dumps whenever I try to use Perl that uses oracle. Does anyone have experience with this...or can at least point me out to whether the problem lies in the oracle client or in the perl install missing libraries or in the DBD::Oracle install on FreeBSD when a Linux emulator is involved...thanks in advance for saving my sanity. Please tell me if I have not given enough information to clarify something for you. ---------------------------------------------------------------------- Paul Weier paul@ibsys.com 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-database" in the body of the message From owner-freebsd-database Fri Sep 28 6:39:51 2001 Delivered-To: freebsd-database@freebsd.org Received: from scotth.emsphone.com (scotth.emsphone.com [199.67.51.179]) by hub.freebsd.org (Postfix) with ESMTP id AD66037B40D for ; Fri, 28 Sep 2001 06:39:47 -0700 (PDT) Received: (from shildret@localhost) by scotth.emsphone.com (8.11.1/8.11.1) id f8SDdgX00765; Fri, 28 Sep 2001 08:39:42 -0500 (CDT) (envelope-from shildret) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <9E35C54B0C7AD411B5C1009027DE5399074E0E14@MSPMX01> Date: Fri, 28 Sep 2001 08:39:42 -0500 (CDT) From: "Scott T. Hildreth" To: "Weier, Paul" Subject: RE: DBD: :Oracle Cc: "freebsd-database@freebsd.org" Sender: owner-freebsd-database@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Unfortunately I am still running 8.0.5, but I will try to help. Did you install linux_devel? You can't compile DBD::Oracle without it. You are using a Linux Perl right? On 28-Sep-01 Weier, Paul wrote: > > I am running FreeBSD 4.3 > I am running Oracle 8i (Linux client only...no full DB) > I am running Perl 5.6.1 > I installed libwww-perl-5.53_97 > I installed libnet-1.0704 > I installed /cdrom/packages/linux_base > I installed DBI-1.20 > I am trying to install DBD::Oracle-1.12 > ># kldstat > Id Refs Address Size Name > 1 3 0xc0100000 224ce4 kernel > 2 1 0xc1ffc000 19000 usb.ko > 3 1 0xc2020000 12000 linux.ko > > > SQLPlus works fine with the Linux oracle client...and am able to contact > the listener on the oracle server. We have tested perl and it seems to work > fine. > DBI installed without a hitch. I am getting really beat up trying to > get DBD::Oracle to install however. > > If I do a make I get: > > /usr/libexec/elf/ld: cannot find -ldl > *** Error code 1 > > Stop in /usr/local/src/DBD-Oracle-1.12. > > Even if I comment out every occurance of '-ldl' that I can find in the > makefile I still get complaints during complilation that it is missing. > I removed it in mk.pm and still get complaints. > > if I do a 'perl Makefile.PL -nob' or the other suggested build > techniques I get core dumps whenever I try to use Perl that uses oracle. > > Does anyone have experience with this...or can at least point me out to > whether the problem lies in the oracle client or in the perl install > missing libraries or in the DBD::Oracle install on FreeBSD when a Linux > emulator > is involved...thanks in advance for saving my sanity. > > Please tell me if I have not given enough information to clarify > something for you. > > ---------------------------------------------------------------------- > Paul Weier paul@ibsys.com > > 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-database" in the body of the message ---------------------------------- E-Mail: Scott T. Hildreth Date: 28-Sep-01 Time: 08:37:01 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-database" in the body of the message From owner-freebsd-database Fri Sep 28 10:16: 6 2001 Delivered-To: freebsd-database@freebsd.org Received: from misery.sdf.com (misery.sdf.com [204.244.213.49]) by hub.freebsd.org (Postfix) with ESMTP id BF99037B40E for ; Fri, 28 Sep 2001 10:16:02 -0700 (PDT) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 15n0pd-0007Up-00; Fri, 28 Sep 2001 09:49:45 -0700 Date: Fri, 28 Sep 2001 09:49:43 -0700 (PDT) From: Tom Samplonius To: "Weier, Paul" Cc: "'freebsd-database@freebsd.org'" Subject: Re: DBD: :Oracle In-Reply-To: <9E35C54B0C7AD411B5C1009027DE5399074E0E14@MSPMX01> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-database@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 28 Sep 2001, Weier, Paul wrote: > I am running Oracle 8i (Linux client only...no full DB) > I am running Perl 5.6.1 ... > I am trying to install DBD::Oracle-1.12 ... Linux and FreeBSD libraries can't be linked together. You will have to use all Linux binaries, or the native FreeBSD Oracle client. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-database" in the body of the message