From owner-freebsd-database@FreeBSD.ORG Sun Oct 31 05:20:53 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9605C16A4CE for ; Sun, 31 Oct 2004 05:20:53 +0000 (GMT) Received: from beaver.trit.org (beaver.trit.org [69.107.245.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A0F743D1F for ; Sun, 31 Oct 2004 05:20:53 +0000 (GMT) (envelope-from dd@freebsd.org) Received: by beaver.trit.org (Postfix, from userid 1000) id 3A2D590D743; Sun, 31 Oct 2004 05:20:53 +0000 (UTC) Date: Sun, 31 Oct 2004 05:20:53 +0000 From: Dima Dorfman To: Jon Adams Message-ID: <20041031052052.GA22539@trit.org> References: <4183FB7B.2090506@computer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4183FB7B.2090506@computer.org> User-Agent: Mutt/1.4.2.1i X-PGP-Key: 69FAE582 (http://www.trit.org/~dima/dima.asc) X-PGP-Fingerprint: B340 8338 7DA3 4D61 7632 098E 0730 055B 69FA E582 cc: freebsd-database@freebsd.org Subject: Re: Oracle 8i (8.1.7), FreeBSD 5.1 i386 installation questions X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 05:20:53 -0000 Jon Adams wrote: > bash-2.04$ ./setup_stubs.sh > Setting up patch files...done. > Patching makefiles as necessary: ... > Rebuilding client shared library...ld: cannot find -ldl > > > Now I know -ldl is for the dlopen function in Linux, which are in a > different place than in FreeBSD, You should be compiling and running everything Oracle-related under Linux emulation, and if you installed the linux_devtools port, you should have libdl in /compat/linux/lib. I suspect that either you aren't running under Linux emulation or that you don't have that port installed. > BTW: please do not tell me to try Oracle 9i, or that I should use > another version of FreeBSD, or something like that, I am locked in this > hardware and OS, so I need to get it to work with the current setup as > much as possible. If you're stuck then you're stuck, but I really would recommend trying to at least get away from 5.1, which really wasn't a production- quality release. From owner-freebsd-database@FreeBSD.ORG Sun Oct 31 13:12:30 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9155F16A4CE for ; Sun, 31 Oct 2004 13:12:30 +0000 (GMT) Received: from x.ja6.com (x.ja6.com [64.239.13.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39EFF43D39 for ; Sun, 31 Oct 2004 13:12:30 +0000 (GMT) (envelope-from jkadams@computer.org) Received: from [192.168.1.102] (adsl-4-119-123.cae.bellsouth.net [65.4.119.123]) (authenticated bits=0) by x.ja6.com (8.12.10/8.12.9) with ESMTP id i9VDCOwS010358 for ; Sun, 31 Oct 2004 08:12:25 -0500 Message-ID: <4184D6E5.7020009@computer.org> Date: Sun, 31 Oct 2004 07:13:25 -0500 From: Jon Adams User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: freebsd-database@freebsd.org References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> In-Reply-To: <20041031052052.GA22539@trit.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: notspam (whitelisted), spamassassin (score=-104.9, required 5, autolearn=not spam, BAYES_00, USER_IN_WHITELIST) Subject: Re: Oracle 8i (8.1.7), FreeBSD 5.1 i386 installation questions X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 13:12:30 -0000 Dima, Thanks for the response, but I do have libdl east# ls -l /compat/linux/lib | grep dl -rwxr-xr-x 1 root wheel 65473 Mar 6 2003 libdl-2.2.4.so lrwxr-xr-x 1 root wheel 14 Jul 26 15:25 libdl.so.2 -> libdl-2.2.4.so for some reason its not seeing it though. One of the first things I did post-install was enable linux emulation and install dev-tools, needed it to get my J2SDK and Tomcat up and running. I also rebuilt the kernel with the Oracle settings for Shared Memory and Semaphores do I need to put a -L somewhere in the oracle files, do I need to modify my LD_INCLUDE_PATH ? my paths looks like this: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/data/oracle/bin:/compat/linux/bin:/compat/linux/sbin:/compat/linux/usr/bin:/compat/linux/usr/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/ora/app/bin SSH_TTY=/dev/ttyp1 LD_LIBRARY_PATH=/ora/app/lib my oracle sources are in /data/oracle/Disk1, I am installing it in /ora I am hoping to move to 5.3 as soon as I get the chance... but I need the DBMS online like yesterday I am thinking this is something small, but since I am a recent convert to FreeBSD, I just dont know where to look to fix it. Dima Dorfman wrote: >Jon Adams wrote: > > >>bash-2.04$ ./setup_stubs.sh >>Setting up patch files...done. >>Patching makefiles as necessary: >> >> >... > > >>Rebuilding client shared library...ld: cannot find -ldl >> >> >>Now I know -ldl is for the dlopen function in Linux, which are in a >>different place than in FreeBSD, >> >> > >You should be compiling and running everything Oracle-related under >Linux emulation, and if you installed the linux_devtools port, you >should have libdl in /compat/linux/lib. I suspect that either you >aren't running under Linux emulation or that you don't have that port >installed. > > > >>BTW: please do not tell me to try Oracle 9i, or that I should use >>another version of FreeBSD, or something like that, I am locked in this >>hardware and OS, so I need to get it to work with the current setup as >>much as possible. >> >> > >If you're stuck then you're stuck, but I really would recommend trying >to at least get away from 5.1, which really wasn't a production- >quality release. > > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-database@FreeBSD.ORG Sun Oct 31 15:41:09 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 257C316A4CE for ; Sun, 31 Oct 2004 15:41:09 +0000 (GMT) Received: from fbsd1.dyndns.org (adsl-68-20-11-185.dsl.emhril.ameritech.net [68.20.11.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7635543D2F for ; Sun, 31 Oct 2004 15:41:08 +0000 (GMT) (envelope-from shild@sbcglobal.net) Received: from fbsd1.dyndns.org (localhost [127.0.0.1]) by fbsd1.dyndns.org (8.13.1/8.13.1) with ESMTP id i9VFfCau042283; Sun, 31 Oct 2004 09:41:12 -0600 (CST) (envelope-from shild@sbcglobal.net) Received: (from shildret@localhost) by fbsd1.dyndns.org (8.13.1/8.13.1/Submit) id i9VFfBdG042282; Sun, 31 Oct 2004 09:41:11 -0600 (CST) (envelope-from shild@sbcglobal.net) X-Authentication-Warning: fbsd1.dyndns.org: shildret set sender to shild@sbcglobal.net using -f From: "Scott T. Hildreth" To: Jon Adams In-Reply-To: <4184D6E5.7020009@computer.org> References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1099237271.88424.89.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 31 Oct 2004 09:41:11 -0600 cc: "freebsd-database@freebsd.org" Subject: Re: Oracle 8i (8.1.7), FreeBSD 5.1 i386 installation questions X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 15:41:09 -0000 Are you running as Oracle user from the linux shell? On Sun, 2004-10-31 at 06:13, Jon Adams wrote: > Dima, > > Thanks for the response, but I do have libdl > > east# ls -l /compat/linux/lib | grep dl > -rwxr-xr-x 1 root wheel 65473 Mar 6 2003 libdl-2.2.4.so > lrwxr-xr-x 1 root wheel 14 Jul 26 15:25 libdl.so.2 -> libdl-2.2.4.so > > for some reason its not seeing it though. One of the first things I did > post-install was enable linux emulation and install dev-tools, > needed it to get my J2SDK and Tomcat up and running. > > I also rebuilt the kernel with the Oracle settings for Shared Memory and > Semaphores > > do I need to put a -L somewhere in the oracle files, do I need to modify > my LD_INCLUDE_PATH ? > > my paths looks like this: > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/data/oracle/bin:/compat/linux/bin:/compat/linux/sbin:/compat/linux/usr/bin:/compat/linux/usr/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/ora/app/bin > SSH_TTY=/dev/ttyp1 > > LD_LIBRARY_PATH=/ora/app/lib > > my oracle sources are in /data/oracle/Disk1, I am installing it in /ora > > I am hoping to move to 5.3 as soon as I get the chance... but I need > the DBMS online like yesterday > > I am thinking this is something small, but since I am a recent convert > to FreeBSD, I just dont know where to look to fix it. > > Dima Dorfman wrote: > > >Jon Adams wrote: > > > > > >>bash-2.04$ ./setup_stubs.sh > >>Setting up patch files...done. > >>Patching makefiles as necessary: > >> > >> > >... > > > > > >>Rebuilding client shared library...ld: cannot find -ldl > >> > >> > >>Now I know -ldl is for the dlopen function in Linux, which are in a > >>different place than in FreeBSD, > >> > >> > > > >You should be compiling and running everything Oracle-related under > >Linux emulation, and if you installed the linux_devtools port, you > >should have libdl in /compat/linux/lib. I suspect that either you > >aren't running under Linux emulation or that you don't have that port > >installed. > > > > > > > >>BTW: please do not tell me to try Oracle 9i, or that I should use > >>another version of FreeBSD, or something like that, I am locked in this > >>hardware and OS, so I need to get it to work with the current setup as > >>much as possible. > >> > >> > > > >If you're stuck then you're stuck, but I really would recommend trying > >to at least get away from 5.1, which really wasn't a production- > >quality release. > > > > > > > From owner-freebsd-database@FreeBSD.ORG Sun Oct 31 21:18:05 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96E3616A4CE for ; Sun, 31 Oct 2004 21:18:05 +0000 (GMT) Received: from x.ja6.com (x.ja6.com [64.239.13.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29DA943D2D for ; Sun, 31 Oct 2004 21:18:05 +0000 (GMT) (envelope-from jkadams@computer.org) Received: from [192.168.1.100] (localhost.localdomain [127.0.0.1]) (authenticated bits=0) by x.ja6.com (8.12.10/8.12.9) with ESMTP id i9VLHvwS022299; Sun, 31 Oct 2004 16:17:58 -0500 Message-ID: <4185567F.9050607@computer.org> Date: Sun, 31 Oct 2004 16:17:51 -0500 From: Jon Adams User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Scott T. Hildreth" References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> <1099237271.88424.89.camel@localhost> In-Reply-To: <1099237271.88424.89.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: notspam (whitelisted), spamassassin (score=-104.9, required 5, autolearn=not spam, BAYES_00, USER_IN_WHITELIST) cc: "freebsd-database@freebsd.org" Subject: Re: Oracle 8i (8.1.7), FreeBSD 5.1 i386 installation questions X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 21:18:05 -0000 yep /compat/linux/bin/bash here is my environment: su-2.04$ env PWD=/data/oracle ORACLE_SID=NITRO PAGER=more FTP_PASSIVE_MODE=YES HOSTNAME=east LD_LIBRARY_PATH=/ora/app/lib ENV=/data/oracle/.shrc BLOCKSIZE=K USER=oracle LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: MACHTYPE=i386-redhat-linux-gnu MAIL=/var/spool/mail/oracle INPUTRC=/etc/inputrc EDITOR=vi ORACLE_BASE=/ora ORACLE_HOME=/ora/app SHLVL=1 LOGNAME=oracle SHELL=/compat/linux/bin/bash HOSTTYPE=i386 OSTYPE=linux-gnu HISTSIZE=1000 HOME=/data/oracle TERM=vt100 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/data/oracle/bin:/compat/linux/bin:/compat/linux/sbin:/compat/linux/usr/bin:/compat/linux/usr/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/ora/app/bin _=/usr/bin/env Scott T. Hildreth wrote: >Are you running as Oracle user from the linux shell? > >On Sun, 2004-10-31 at 06:13, Jon Adams wrote: > > >>Dima, >> >> Thanks for the response, but I do have libdl >> >>east# ls -l /compat/linux/lib | grep dl >>-rwxr-xr-x 1 root wheel 65473 Mar 6 2003 libdl-2.2.4.so >>lrwxr-xr-x 1 root wheel 14 Jul 26 15:25 libdl.so.2 -> libdl-2.2.4.so >> >>for some reason its not seeing it though. One of the first things I did >>post-install was enable linux emulation and install dev-tools, >>needed it to get my J2SDK and Tomcat up and running. >> >>I also rebuilt the kernel with the Oracle settings for Shared Memory and >>Semaphores >> >>do I need to put a -L somewhere in the oracle files, do I need to modify >>my LD_INCLUDE_PATH ? >> >>my paths looks like this: >>PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/data/oracle/bin:/compat/linux/bin:/compat/linux/sbin:/compat/linux/usr/bin:/compat/linux/usr/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/ora/app/bin >>SSH_TTY=/dev/ttyp1 >> >>LD_LIBRARY_PATH=/ora/app/lib >> >>my oracle sources are in /data/oracle/Disk1, I am installing it in /ora >> >>I am hoping to move to 5.3 as soon as I get the chance... but I need >>the DBMS online like yesterday >> >>I am thinking this is something small, but since I am a recent convert >>to FreeBSD, I just dont know where to look to fix it. >> >>Dima Dorfman wrote: >> >> >> >>>Jon Adams wrote: >>> >>> >>> >>> >>>>bash-2.04$ ./setup_stubs.sh >>>>Setting up patch files...done. >>>>Patching makefiles as necessary: >>>> >>>> >>>> >>>> >>>... >>> >>> >>> >>> >>>>Rebuilding client shared library...ld: cannot find -ldl >>>> >>>> >>>>Now I know -ldl is for the dlopen function in Linux, which are in a >>>>different place than in FreeBSD, >>>> >>>> >>>> >>>> >>>You should be compiling and running everything Oracle-related under >>>Linux emulation, and if you installed the linux_devtools port, you >>>should have libdl in /compat/linux/lib. I suspect that either you >>>aren't running under Linux emulation or that you don't have that port >>>installed. >>> >>> >>> >>> >>> >>>>BTW: please do not tell me to try Oracle 9i, or that I should use >>>>another version of FreeBSD, or something like that, I am locked in this >>>>hardware and OS, so I need to get it to work with the current setup as >>>>much as possible. >>>> >>>> >>>> >>>> >>>If you're stuck then you're stuck, but I really would recommend trying >>>to at least get away from 5.1, which really wasn't a production- >>>quality release. >>> >>> >>> >>> >>> > > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-database@FreeBSD.ORG Mon Nov 1 02:40:30 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 465B416A4CE for ; Mon, 1 Nov 2004 02:40:30 +0000 (GMT) Received: from beaver.trit.org (beaver.trit.org [69.107.245.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 146AA43D53 for ; Mon, 1 Nov 2004 02:40:30 +0000 (GMT) (envelope-from dd@freebsd.org) Received: by beaver.trit.org (Postfix, from userid 1000) id DAAF390D525; Mon, 1 Nov 2004 02:40:29 +0000 (UTC) Date: Mon, 1 Nov 2004 02:40:29 +0000 From: Dima Dorfman To: Jon Adams Message-ID: <20041101024029.GD22539@trit.org> References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4184D6E5.7020009@computer.org> User-Agent: Mutt/1.4.2.1i X-PGP-Key: 69FAE582 (http://www.trit.org/~dima/dima.asc) X-PGP-Fingerprint: B340 8338 7DA3 4D61 7632 098E 0730 055B 69FA E582 cc: freebsd-database@freebsd.org Subject: Re: Oracle 8i (8.1.7), FreeBSD 5.1 i386 installation questions X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 02:40:30 -0000 [Jon Adams] > >>bash-2.04$ ./setup_stubs.sh > >>Setting up patch files...done. > >>Patching makefiles as necessary: > >> > >> > >... > > > > > >>Rebuilding client shared library...ld: cannot find -ldl [Dima Dorfman] > >You should be compiling and running everything Oracle-related under > >Linux emulation, and if you installed the linux_devtools port, you > >should have libdl in /compat/linux/lib. I suspect that either you > >aren't running under Linux emulation or that you don't have that port > >installed. [Jon Adams] > I do have libdl > ... > do I need to put a -L somewhere in the oracle files, do I need to modify > my LD_INCLUDE_PATH ? /lib is almost certainly already in the library path. The most likely explanation is that the compiler (or linker, or whatever is trying to access libdl) isn't running under Linux emulation. Even if you start something from a compat shell, it can break out of the emulator if something tries to run a FreeBSD binary. We need to find the command that it's trying to run when it fails. Find the script that it's in (it might be setup_stubs, but it might be another one) and run it with the -x option to sh to show the commands being executed. After you find the command, try executing it manually (in the right directory), and if it still doesn't work, look for the offending FreeBSD binary (it might be executed indirectly as an interpreter, for example). Dima. From owner-freebsd-database@FreeBSD.ORG Tue Nov 2 22:47:36 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9656116A4CE; Tue, 2 Nov 2004 22:47:36 +0000 (GMT) Received: from x.ja6.com (x.ja6.com [64.239.13.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00BCE43D31; Tue, 2 Nov 2004 22:47:36 +0000 (GMT) (envelope-from jkadams@computer.org) Received: from [192.168.1.100] (localhost.localdomain [127.0.0.1]) (authenticated bits=0) by x.ja6.com (8.12.10/8.12.9) with ESMTP id iA2MlSwS029289; Tue, 2 Nov 2004 17:47:29 -0500 Message-ID: <41880E77.50402@computer.org> Date: Tue, 02 Nov 2004 17:47:19 -0500 From: Jon Adams User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dima Dorfman References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> <20041101024029.GD22539@trit.org> In-Reply-To: <20041101024029.GD22539@trit.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: notspam (whitelisted), spamassassin (score=-104.9, required 5, BAYES_00, UPPERCASE_25_50, USER_IN_WHITELIST) cc: freebsd-database@freebsd.org Subject: Re: Oracle 8i (8.1.7), FreeBSD 5.1 i386 installation questions X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jkadams@computer.org List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 22:47:36 -0000 Dima Dorfman wrote: >[Jon Adams] > > >>>>bash-2.04$ ./setup_stubs.sh >>>>Setting up patch files...done. >>>>Patching makefiles as necessary: >>>> >>>> >>>> >>>> >>>... >>> >>> >>> >>> >>>>Rebuilding client shared library...ld: cannot find -ldl >>>> >>>> > >[Dima Dorfman] > > >>>You should be compiling and running everything Oracle-related under >>>Linux emulation, and if you installed the linux_devtools port, you >>>should have libdl in /compat/linux/lib. I suspect that either you >>>aren't running under Linux emulation or that you don't have that port >>>installed. >>> >>> > >[Jon Adams] > > >>I do have libdl >> >> >> >... > > >>do I need to put a -L somewhere in the oracle files, do I need to modify >>my LD_INCLUDE_PATH ? >> >> > >/lib is almost certainly already in the library path. The most likely >explanation is that the compiler (or linker, or whatever is trying to >access libdl) isn't running under Linux emulation. Even if you start >something from a compat shell, it can break out of the emulator if >something tries to run a FreeBSD binary. We need to find the command >that it's trying to run when it fails. Find the script that it's in (it >might be setup_stubs, but it might be another one) and run it with the >-x option to sh to show the commands being executed. > > Ran setup_stubs.sh with -x by itself... this is the output... I have no idea where the bad command is... + OH=/ora/app + RELINK=/ora/app/bin/relink + '[' -z /ora/app ']' + '[' '!' -d /ora/app ']' + '[' '!' -f /ora/app/bin/relink ']' + cd /ora/app + echo -n 'Setting up patch files...' + '[' '!' -f lib/stubs/libc.so.tmp ']' + sed -e s%__OH__%/ora/app%g lib/stubs/libc.so.tmp + cp -p bin/genclntsh bin/genclntsh.stub + sed -e '/^LD=.*-L${ORACLE_HOME}\/lib\/stubs\//n' -e '/^LD=/s/-L${ORACLE_HOME}\/lib[[:space:]]\?/-L${ORACLE_HOME}\/lib -L${ORACLE_HOME}\/lib\/stubs\/ /' -e '/^LD=.*$(LDPATHFLAG)${ORACLE_HOME}\/lib\/stubs\//n' -e '/^LD=/s/$(LDPATHFLAG)${ORACLE_HOME}\/lib[[:space:]]\?/$(LDPATHFLAG)${ORACLE_HOME}\/lib $(LDPATHFLAG)${ORACLE_HOME}\/lib\/stubs\/ /' bin/genclntsh + diff -q bin/genclntsh bin/genclntsh.stub + rm bin/genclntsh.stub + echo done. + echo 'Patching makefiles as necessary:' ++ find /ora/app -name '*.mk' + prodlist=/ora/app/rdbms/demo/demo_rdbms.mk /ora/app/rdbms/demo/ociucb.mk /ora/app/rdbms/lib/ins_rdbms.mk /ora/app/rdbms/lib/env_rdbms.mk /ora/app/network/lib/ins_net_client.mk /ora/app/network/lib/env_network.mk /ora/app/network/lib/ins_cman.mk /ora/app/network/lib/ins_names.mk /ora/app/network/lib/ins_oemagent.mk /ora/app/network/lib/env_oemagent.mk /ora/app/network/lib/ins_net_server.mk /ora/app/network/lib/ins_nau.mk /ora/app/plsql/lib/env_plsql.mk /ora/app/plsql/lib/ins_plsql.mk /ora/app/plsql/demo/demo_plsql.mk /ora/app/precomp/lib/ins_precomp.mk /ora/app/precomp/lib/env_precomp.mk /ora/app/ldap/lib/env_ldap.mk /ora/app/ldap/lib/ins_ldap.mk /ora/app/ldap/demo/demo_ldap.mk /ora/app/sqlplus/lib/env_sqlplus.mk /ora/app/sqlplus/lib/ins_sqlplus.mk /ora/app/ord/im/lib/env_ordim.mk /ora/app/ord/img/demo/demo_ordimg.mk /ora/app/otrace/demo/atmoci.mk /ora/app/otrace/lib/env_otrace.mk /ora/app/otrace/lib/ins_otrace.mk + patch_mk /ora/app/rdbms/demo/demo_rdbms.mk + echo -n ' checking file '\''/ora/app/rdbms/demo/demo_rdbms.mk'\''...' + '[' -f /ora/app/rdbms/demo/demo_rdbms.mk.stub ']' + '[' -f /ora/app/rdbms/demo/demo_rdbms.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/rdbms/demo/demo_rdbms.mk + diff -q /ora/app/rdbms/demo/demo_rdbms.mk /ora/app/rdbms/demo/demo_rdbms.mk.stub + rm /ora/app/rdbms/demo/demo_rdbms.mk.stub + echo -n OK. + echo + patch_mk /ora/app/rdbms/demo/ociucb.mk + echo -n ' checking file '\''/ora/app/rdbms/demo/ociucb.mk'\''...' + '[' -f /ora/app/rdbms/demo/ociucb.mk.stub ']' + '[' -f /ora/app/rdbms/demo/ociucb.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/rdbms/demo/ociucb.mk + diff -q /ora/app/rdbms/demo/ociucb.mk /ora/app/rdbms/demo/ociucb.mk.stub + rm /ora/app/rdbms/demo/ociucb.mk.stub + echo -n OK. + echo + patch_mk /ora/app/rdbms/lib/ins_rdbms.mk + echo -n ' checking file '\''/ora/app/rdbms/lib/ins_rdbms.mk'\''...' + '[' -f /ora/app/rdbms/lib/ins_rdbms.mk.stub ']' + '[' -f /ora/app/rdbms/lib/ins_rdbms.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/rdbms/lib/ins_rdbms.mk + diff -q /ora/app/rdbms/lib/ins_rdbms.mk /ora/app/rdbms/lib/ins_rdbms.mk.stub + rm /ora/app/rdbms/lib/ins_rdbms.mk.stub + echo -n OK. + echo + patch_mk /ora/app/rdbms/lib/env_rdbms.mk + echo -n ' checking file '\''/ora/app/rdbms/lib/env_rdbms.mk'\''...' + '[' -f /ora/app/rdbms/lib/env_rdbms.mk.stub ']' + '[' -f /ora/app/rdbms/lib/env_rdbms.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/rdbms/lib/env_rdbms.mk + diff -q /ora/app/rdbms/lib/env_rdbms.mk /ora/app/rdbms/lib/env_rdbms.mk.stub + rm /ora/app/rdbms/lib/env_rdbms.mk.stub + echo -n OK. + echo + patch_mk /ora/app/network/lib/ins_net_client.mk + echo -n ' checking file '\''/ora/app/network/lib/ins_net_client.mk'\''...' + '[' -f /ora/app/network/lib/ins_net_client.mk.stub ']' + '[' -f /ora/app/network/lib/ins_net_client.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/network/lib/ins_net_client.mk + diff -q /ora/app/network/lib/ins_net_client.mk /ora/app/network/lib/ins_net_client.mk.stub + rm /ora/app/network/lib/ins_net_client.mk.stub + echo -n OK. + echo + patch_mk /ora/app/network/lib/env_network.mk + echo -n ' checking file '\''/ora/app/network/lib/env_network.mk'\''...' + '[' -f /ora/app/network/lib/env_network.mk.stub ']' + '[' -f /ora/app/network/lib/env_network.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/network/lib/env_network.mk + diff -q /ora/app/network/lib/env_network.mk /ora/app/network/lib/env_network.mk.stub + rm /ora/app/network/lib/env_network.mk.stub + echo -n OK. + echo + patch_mk /ora/app/network/lib/ins_cman.mk + echo -n ' checking file '\''/ora/app/network/lib/ins_cman.mk'\''...' + '[' -f /ora/app/network/lib/ins_cman.mk.stub ']' + '[' -f /ora/app/network/lib/ins_cman.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/network/lib/ins_cman.mk + diff -q /ora/app/network/lib/ins_cman.mk /ora/app/network/lib/ins_cman.mk.stub + rm /ora/app/network/lib/ins_cman.mk.stub + echo -n OK. + echo + patch_mk /ora/app/network/lib/ins_names.mk + echo -n ' checking file '\''/ora/app/network/lib/ins_names.mk'\''...' + '[' -f /ora/app/network/lib/ins_names.mk.stub ']' + '[' -f /ora/app/network/lib/ins_names.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/network/lib/ins_names.mk + diff -q /ora/app/network/lib/ins_names.mk /ora/app/network/lib/ins_names.mk.stub + rm /ora/app/network/lib/ins_names.mk.stub + echo -n OK. + echo + patch_mk /ora/app/network/lib/ins_oemagent.mk + echo -n ' checking file '\''/ora/app/network/lib/ins_oemagent.mk'\''...' + '[' -f /ora/app/network/lib/ins_oemagent.mk.stub ']' + '[' -f /ora/app/network/lib/ins_oemagent.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/network/lib/ins_oemagent.mk + diff -q /ora/app/network/lib/ins_oemagent.mk /ora/app/network/lib/ins_oemagent.mk.stub + rm /ora/app/network/lib/ins_oemagent.mk.stub + echo -n OK. + echo + patch_mk /ora/app/network/lib/env_oemagent.mk + echo -n ' checking file '\''/ora/app/network/lib/env_oemagent.mk'\''...' + '[' -f /ora/app/network/lib/env_oemagent.mk.stub ']' + '[' -f /ora/app/network/lib/env_oemagent.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/network/lib/env_oemagent.mk + diff -q /ora/app/network/lib/env_oemagent.mk /ora/app/network/lib/env_oemagent.mk.stub + rm /ora/app/network/lib/env_oemagent.mk.stub + echo -n OK. + echo + patch_mk /ora/app/network/lib/ins_net_server.mk + echo -n ' checking file '\''/ora/app/network/lib/ins_net_server.mk'\''...' + '[' -f /ora/app/network/lib/ins_net_server.mk.stub ']' + '[' -f /ora/app/network/lib/ins_net_server.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/network/lib/ins_net_server.mk + diff -q /ora/app/network/lib/ins_net_server.mk /ora/app/network/lib/ins_net_server.mk.stub + rm /ora/app/network/lib/ins_net_server.mk.stub + echo -n OK. + echo + patch_mk /ora/app/network/lib/ins_nau.mk + echo -n ' checking file '\''/ora/app/network/lib/ins_nau.mk'\''...' + '[' -f /ora/app/network/lib/ins_nau.mk.stub ']' + '[' -f /ora/app/network/lib/ins_nau.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/network/lib/ins_nau.mk + diff -q /ora/app/network/lib/ins_nau.mk /ora/app/network/lib/ins_nau.mk.stub + rm /ora/app/network/lib/ins_nau.mk.stub + echo -n OK. + echo + patch_mk /ora/app/plsql/lib/env_plsql.mk + echo -n ' checking file '\''/ora/app/plsql/lib/env_plsql.mk'\''...' + '[' -f /ora/app/plsql/lib/env_plsql.mk.stub ']' + '[' -f /ora/app/plsql/lib/env_plsql.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/plsql/lib/env_plsql.mk + diff -q /ora/app/plsql/lib/env_plsql.mk /ora/app/plsql/lib/env_plsql.mk.stub + rm /ora/app/plsql/lib/env_plsql.mk.stub + echo -n OK. + echo + patch_mk /ora/app/plsql/lib/ins_plsql.mk + echo -n ' checking file '\''/ora/app/plsql/lib/ins_plsql.mk'\''...' + '[' -f /ora/app/plsql/lib/ins_plsql.mk.stub ']' + '[' -f /ora/app/plsql/lib/ins_plsql.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/plsql/lib/ins_plsql.mk + diff -q /ora/app/plsql/lib/ins_plsql.mk /ora/app/plsql/lib/ins_plsql.mk.stub + rm /ora/app/plsql/lib/ins_plsql.mk.stub + echo -n OK. + echo + patch_mk /ora/app/plsql/demo/demo_plsql.mk + echo -n ' checking file '\''/ora/app/plsql/demo/demo_plsql.mk'\''...' + '[' -f /ora/app/plsql/demo/demo_plsql.mk.stub ']' + '[' -f /ora/app/plsql/demo/demo_plsql.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/plsql/demo/demo_plsql.mk + diff -q /ora/app/plsql/demo/demo_plsql.mk /ora/app/plsql/demo/demo_plsql.mk.stub + rm /ora/app/plsql/demo/demo_plsql.mk.stub + echo -n OK. + echo + patch_mk /ora/app/precomp/lib/ins_precomp.mk + echo -n ' checking file '\''/ora/app/precomp/lib/ins_precomp.mk'\''...' + '[' -f /ora/app/precomp/lib/ins_precomp.mk.stub ']' + '[' -f /ora/app/precomp/lib/ins_precomp.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/precomp/lib/ins_precomp.mk + diff -q /ora/app/precomp/lib/ins_precomp.mk /ora/app/precomp/lib/ins_precomp.mk.stub + rm /ora/app/precomp/lib/ins_precomp.mk.stub + echo -n OK. + echo + patch_mk /ora/app/precomp/lib/env_precomp.mk + echo -n ' checking file '\''/ora/app/precomp/lib/env_precomp.mk'\''...' + '[' -f /ora/app/precomp/lib/env_precomp.mk.stub ']' + '[' -f /ora/app/precomp/lib/env_precomp.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/precomp/lib/env_precomp.mk + diff -q /ora/app/precomp/lib/env_precomp.mk /ora/app/precomp/lib/env_precomp.mk.stub + rm /ora/app/precomp/lib/env_precomp.mk.stub + echo -n OK. + echo + patch_mk /ora/app/ldap/lib/env_ldap.mk + echo -n ' checking file '\''/ora/app/ldap/lib/env_ldap.mk'\''...' + '[' -f /ora/app/ldap/lib/env_ldap.mk.stub ']' + '[' -f /ora/app/ldap/lib/env_ldap.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/ldap/lib/env_ldap.mk + diff -q /ora/app/ldap/lib/env_ldap.mk /ora/app/ldap/lib/env_ldap.mk.stub + rm /ora/app/ldap/lib/env_ldap.mk.stub + echo -n OK. + echo + patch_mk /ora/app/ldap/lib/ins_ldap.mk + echo -n ' checking file '\''/ora/app/ldap/lib/ins_ldap.mk'\''...' + '[' -f /ora/app/ldap/lib/ins_ldap.mk.stub ']' + '[' -f /ora/app/ldap/lib/ins_ldap.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/ldap/lib/ins_ldap.mk + diff -q /ora/app/ldap/lib/ins_ldap.mk /ora/app/ldap/lib/ins_ldap.mk.stub + rm /ora/app/ldap/lib/ins_ldap.mk.stub + echo -n OK. + echo + patch_mk /ora/app/ldap/demo/demo_ldap.mk + echo -n ' checking file '\''/ora/app/ldap/demo/demo_ldap.mk'\''...' + '[' -f /ora/app/ldap/demo/demo_ldap.mk.stub ']' + '[' -f /ora/app/ldap/demo/demo_ldap.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/ldap/demo/demo_ldap.mk + diff -q /ora/app/ldap/demo/demo_ldap.mk /ora/app/ldap/demo/demo_ldap.mk.stub + rm /ora/app/ldap/demo/demo_ldap.mk.stub + echo -n OK. + echo + patch_mk /ora/app/sqlplus/lib/env_sqlplus.mk + echo -n ' checking file '\''/ora/app/sqlplus/lib/env_sqlplus.mk'\''...' + '[' -f /ora/app/sqlplus/lib/env_sqlplus.mk.stub ']' + '[' -f /ora/app/sqlplus/lib/env_sqlplus.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/sqlplus/lib/env_sqlplus.mk + diff -q /ora/app/sqlplus/lib/env_sqlplus.mk /ora/app/sqlplus/lib/env_sqlplus.mk.stub + rm /ora/app/sqlplus/lib/env_sqlplus.mk.stub + echo -n OK. + echo + patch_mk /ora/app/sqlplus/lib/ins_sqlplus.mk + echo -n ' checking file '\''/ora/app/sqlplus/lib/ins_sqlplus.mk'\''...' + '[' -f /ora/app/sqlplus/lib/ins_sqlplus.mk.stub ']' + '[' -f /ora/app/sqlplus/lib/ins_sqlplus.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/sqlplus/lib/ins_sqlplus.mk + diff -q /ora/app/sqlplus/lib/ins_sqlplus.mk /ora/app/sqlplus/lib/ins_sqlplus.mk.stub + rm /ora/app/sqlplus/lib/ins_sqlplus.mk.stub + echo -n OK. + echo + patch_mk /ora/app/ord/im/lib/env_ordim.mk + echo -n ' checking file '\''/ora/app/ord/im/lib/env_ordim.mk'\''...' + '[' -f /ora/app/ord/im/lib/env_ordim.mk.stub ']' + '[' -f /ora/app/ord/im/lib/env_ordim.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/ord/im/lib/env_ordim.mk + diff -q /ora/app/ord/im/lib/env_ordim.mk /ora/app/ord/im/lib/env_ordim.mk.stub + rm /ora/app/ord/im/lib/env_ordim.mk.stub + echo -n OK. + echo + patch_mk /ora/app/ord/img/demo/demo_ordimg.mk + echo -n ' checking file '\''/ora/app/ord/img/demo/demo_ordimg.mk'\''...' + '[' -f /ora/app/ord/img/demo/demo_ordimg.mk.stub ']' + '[' -f /ora/app/ord/img/demo/demo_ordimg.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/ord/img/demo/demo_ordimg.mk + diff -q /ora/app/ord/img/demo/demo_ordimg.mk /ora/app/ord/img/demo/demo_ordimg.mk.stub + rm /ora/app/ord/img/demo/demo_ordimg.mk.stub + echo -n OK. + echo + patch_mk /ora/app/otrace/demo/atmoci.mk + echo -n ' checking file '\''/ora/app/otrace/demo/atmoci.mk'\''...' + '[' -f /ora/app/otrace/demo/atmoci.mk.stub ']' + '[' -f /ora/app/otrace/demo/atmoci.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/otrace/demo/atmoci.mk + diff -q /ora/app/otrace/demo/atmoci.mk /ora/app/otrace/demo/atmoci.mk.stub + rm /ora/app/otrace/demo/atmoci.mk.stub + echo -n OK. + echo + patch_mk /ora/app/otrace/lib/env_otrace.mk + echo -n ' checking file '\''/ora/app/otrace/lib/env_otrace.mk'\''...' + '[' -f /ora/app/otrace/lib/env_otrace.mk.stub ']' + '[' -f /ora/app/otrace/lib/env_otrace.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/otrace/lib/env_otrace.mk + diff -q /ora/app/otrace/lib/env_otrace.mk /ora/app/otrace/lib/env_otrace.mk.stub + rm /ora/app/otrace/lib/env_otrace.mk.stub + echo -n OK. + echo + patch_mk /ora/app/otrace/lib/ins_otrace.mk + echo -n ' checking file '\''/ora/app/otrace/lib/ins_otrace.mk'\''...' + '[' -f /ora/app/otrace/lib/ins_otrace.mk.stub ']' + '[' -f /ora/app/otrace/lib/ins_otrace.mk ']' + sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' /ora/app/otrace/lib/ins_otrace.mk + diff -q /ora/app/otrace/lib/ins_otrace.mk /ora/app/otrace/lib/ins_otrace.mk.stub + rm /ora/app/otrace/lib/ins_otrace.mk.stub + echo -n OK. + echo + echo -n 'Rebuilding client shared library...' + /ora/app/bin/genclntsh ld: cannot find -ldl >Dima. > > > -- ........................... Jon Adams - "Chance favors the prepared mind" email: jka@ja6.com | jkadams@computer.org AOL IM: j2k4real GPG Sig: 2965 F58A 5DF8 B4C5 16D2 0AB4 ACE2 C4A1 D105 50D2 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-database@FreeBSD.ORG Tue Nov 2 23:20:05 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADD8416A4CE for ; Tue, 2 Nov 2004 23:20:05 +0000 (GMT) Received: from x.ja6.com (x.ja6.com [64.239.13.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6407D43D58 for ; Tue, 2 Nov 2004 23:20:05 +0000 (GMT) (envelope-from jkadams@computer.org) Received: from [192.168.1.100] (localhost.localdomain [127.0.0.1]) (authenticated bits=0) by x.ja6.com (8.12.10/8.12.9) with ESMTP id iA2NJvwS030116 for ; Tue, 2 Nov 2004 18:19:58 -0500 Message-ID: <41881615.9090501@computer.org> Date: Tue, 02 Nov 2004 18:19:49 -0500 From: Jon Adams User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-database@freebsd.org References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> <20041101024029.GD22539@trit.org> In-Reply-To: <20041101024029.GD22539@trit.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: notspam (whitelisted), spamassassin (score=-104.9, required 5, autolearn=not spam, BAYES_00, USER_IN_WHITELIST) Subject: Re: Oracle 8i (8.1.7), FreeBSD 5.1 i386 installation questions X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jkadams@computer.org List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 23:20:05 -0000 Dima Dorfman wrote: >[Jon Adams] > > >>>>bash-2.04$ ./setup_stubs.sh >>>>Setting up patch files...done. >>>>Patching makefiles as necessary: >>>> >>>> >>>> >>>> >>>... >>> >>> >>> >>> >>>>Rebuilding client shared library...ld: cannot find -ldl >>>> >>>> > >[Dima Dorfman] > > >>>You should be compiling and running everything Oracle-related under >>>Linux emulation, and if you installed the linux_devtools port, you >>>should have libdl in /compat/linux/lib. I suspect that either you >>>aren't running under Linux emulation or that you don't have that port >>>installed. >>> >>> > >[Jon Adams] > > >>I do have libdl >> >> >> >... > > >>do I need to put a -L somewhere in the oracle files, do I need to modify >>my LD_INCLUDE_PATH ? >> >> > >/lib is almost certainly already in the library path. The most likely >explanation is that the compiler (or linker, or whatever is trying to >access libdl) isn't running under Linux emulation. Even if you start >something from a compat shell, it can break out of the emulator if >something tries to run a FreeBSD binary. We need to find the command >that it's trying to run when it fails. Find the script that it's in (it >might be setup_stubs, but it might be another one) and run it with the >-x option to sh to show the commands being executed. > ... I set my path to /compat/linux/bin:/compat/linux/usr/bin and noticed that the linker ld itself doesnt exist in the linux compat.... perhaps this is the problem? > >Dima. > > > -- ........................... Jon Adams - "Chance favors the prepared mind" web: http://webpages.uncc.edu/~jkadams AOL IM: j2k4real GPG Sig: 2965 F58A 5DF8 B4C5 16D2 0AB4 ACE2 C4A1 D105 50D2 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-database@FreeBSD.ORG Tue Nov 2 23:31:18 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CF3616A4CE for ; Tue, 2 Nov 2004 23:31:18 +0000 (GMT) Received: from scotth.emsphone.com (scotth.emsphone.com [199.67.51.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0485D43D75 for ; Tue, 2 Nov 2004 23:31:18 +0000 (GMT) (envelope-from shildret@scotth.emsphone.com) Received: from scotth.emsphone.com (localhost [127.0.0.1]) by scotth.emsphone.com (8.12.10/8.12.3) with ESMTP id iA2NV58Q016676; Tue, 2 Nov 2004 17:31:05 -0600 (CST) (envelope-from shildret@scotth.emsphone.com) Received: (from shildret@localhost) by scotth.emsphone.com (8.12.10/8.12.3/Submit) id iA2NV5ug016675; Tue, 2 Nov 2004 17:31:05 -0600 (CST) From: "Scott T. Hildreth" To: jkadams@computer.org In-Reply-To: <41881615.9090501@computer.org> References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> <20041101024029.GD22539@trit.org> <41881615.9090501@computer.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1099438265.83080.398.camel@scotth.emsphone.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 02 Nov 2004 17:31:05 -0600 cc: "freebsd-database@freebsd.org" Subject: Re: Oracle 8i (8.1.7), FreeBSD 5.1 i386 installation questions X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 23:31:18 -0000 yes that would be a problem, should be in /compat/linux/usr/bin. Did you install linux-devel? (Sorry I forgot if you indicated that already.) On Tue, 2004-11-02 at 17:19, Jon Adams wrote: > Dima Dorfman wrote: > > >[Jon Adams] > > > > > >>>>bash-2.04$ ./setup_stubs.sh > >>>>Setting up patch files...done. > >>>>Patching makefiles as necessary: > >>>> > >>>> > >>>> > >>>> > >>>... > >>> > >>> > >>> > >>> > >>>>Rebuilding client shared library...ld: cannot find -ldl > >>>> > >>>> > > > >[Dima Dorfman] > > > > > >>>You should be compiling and running everything Oracle-related under > >>>Linux emulation, and if you installed the linux_devtools port, you > >>>should have libdl in /compat/linux/lib. I suspect that either you > >>>aren't running under Linux emulation or that you don't have that port > >>>installed. > >>> > >>> > > > >[Jon Adams] > > > > > >>I do have libdl > >> > >> > >> > >... > > > > > >>do I need to put a -L somewhere in the oracle files, do I need to modify > >>my LD_INCLUDE_PATH ? > >> > >> > > > >/lib is almost certainly already in the library path. The most likely > >explanation is that the compiler (or linker, or whatever is trying to > >access libdl) isn't running under Linux emulation. Even if you start > >something from a compat shell, it can break out of the emulator if > >something tries to run a FreeBSD binary. We need to find the command > >that it's trying to run when it fails. Find the script that it's in (it > >might be setup_stubs, but it might be another one) and run it with the > >-x option to sh to show the commands being executed. > > > ... > I set my path to /compat/linux/bin:/compat/linux/usr/bin and noticed > that the linker ld itself doesnt exist in the linux compat.... > perhaps this is the problem? > > > > >Dima. > > > > > > > > > -- > ........................... > Jon Adams - > "Chance favors the prepared mind" > web: http://webpages.uncc.edu/~jkadams > AOL IM: j2k4real > GPG Sig: 2965 F58A 5DF8 B4C5 16D2 0AB4 ACE2 C4A1 D105 50D2 > From owner-freebsd-database@FreeBSD.ORG Tue Nov 2 23:38:51 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C2C816A4CE for ; Tue, 2 Nov 2004 23:38:51 +0000 (GMT) Received: from mail.atlasbook.com (particle-pat.atlasbook.com [66.161.22.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id E559B43D1D for ; Tue, 2 Nov 2004 23:38:50 +0000 (GMT) (envelope-from dd@freebsd.org) Received: from ajax.nimone.com (unknown [192.168.168.100]) by mail.atlasbook.com (Postfix) with ESMTP id AADAECA; Tue, 2 Nov 2004 23:38:50 +0000 (UTC) Received: (from dima@localhost) by ajax.nimone.com (8.11.6+Sun/8.10.2) id iA2NcnN19190; Tue, 2 Nov 2004 23:38:49 GMT X-Authentication-Warning: ajax.nimone.com: dima set sender to dd@freebsd.org using -f Date: Tue, 2 Nov 2004 23:38:49 +0000 From: Dima Dorfman To: Jon Adams Message-ID: <20041102233849.GA19151@trit.org> References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> <20041101024029.GD22539@trit.org> <41880E77.50402@computer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41880E77.50402@computer.org> User-Agent: Mutt/1.4i X-PGP-Key: 69FAE582 (http://www.trit.org/~dima/dima.asc) X-PGP-Fingerprint: B340 8338 7DA3 4D61 7632 098E 0730 055B 69FA E582 cc: freebsd-database@freebsd.org Subject: Re: Oracle 8i (8.1.7), FreeBSD 5.1 i386 installation questions X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 23:38:51 -0000 Jon Adams wrote: > Ran setup_stubs.sh with -x by itself... this is the output... I have no > idea where the bad command is... Scott responded to your other email indicating that you should have a /compat/linux/usr/bin/ld. Not having that is a likely cause for this problem. If that turns out not to be it, however: > + echo -n 'Rebuilding client shared library...' > + /ora/app/bin/genclntsh The bad command is inside that file, which is probably a shell script. Running it with -x should give more details. From owner-freebsd-database@FreeBSD.ORG Wed Nov 3 01:26:03 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A448F16A4CE for ; Wed, 3 Nov 2004 01:26:03 +0000 (GMT) Received: from x.ja6.com (x.ja6.com [64.239.13.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEADB43D2F for ; Wed, 3 Nov 2004 01:26:02 +0000 (GMT) (envelope-from jkadams@computer.org) Received: from [192.168.1.100] (localhost.localdomain [127.0.0.1]) (authenticated bits=0) by x.ja6.com (8.12.10/8.12.9) with ESMTP id iA31PowS000681; Tue, 2 Nov 2004 20:25:51 -0500 Message-ID: <4188339A.5080002@computer.org> Date: Tue, 02 Nov 2004 20:25:46 -0500 From: Jon Adams User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Scott T. Hildreth" , freebsd-database@freebsd.org References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> <20041101024029.GD22539@trit.org> <41881615.9090501@computer.org> <1099438265.83080.398.camel@scotth.emsphone.com> In-Reply-To: <1099438265.83080.398.camel@scotth.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: notspam (whitelisted), spamassassin (score=-104.9, required 5, autolearn=not spam, BAYES_00, USER_IN_WHITELIST) Subject: Re: Oracle 8i (8.1.7), FreeBSD 5.1 i386 installation questions X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jkadams@computer.org List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 01:26:03 -0000 Scott T. Hildreth wrote: >yes that would be a problem, should be in /compat/linux/usr/bin. Did >you install linux-devel? (Sorry I forgot if you indicated that >already.) > > > no apologies needed... I **thought** I had it, but I didnt... after installing it I got this: su-2.04$ ./setup_stubs.sh Setting up patch files...done. Patching makefiles as necessary: checking file '/ora/app/rdbms/demo/demo_rdbms.mk'...OK. checking file '/ora/app/rdbms/demo/ociucb.mk'...OK. checking file '/ora/app/rdbms/lib/ins_rdbms.mk'...OK. checking file '/ora/app/rdbms/lib/env_rdbms.mk'...OK. checking file '/ora/app/network/lib/ins_net_client.mk'...OK. checking file '/ora/app/network/lib/env_network.mk'...OK. checking file '/ora/app/network/lib/ins_cman.mk'...OK. checking file '/ora/app/network/lib/ins_names.mk'...OK. checking file '/ora/app/network/lib/ins_oemagent.mk'...OK. checking file '/ora/app/network/lib/env_oemagent.mk'...OK. checking file '/ora/app/network/lib/ins_net_server.mk'...OK. checking file '/ora/app/network/lib/ins_nau.mk'...OK. checking file '/ora/app/plsql/lib/env_plsql.mk'...OK. checking file '/ora/app/plsql/lib/ins_plsql.mk'...OK. checking file '/ora/app/plsql/demo/demo_plsql.mk'...OK. checking file '/ora/app/precomp/lib/ins_precomp.mk'...OK. checking file '/ora/app/precomp/lib/env_precomp.mk'...OK. checking file '/ora/app/ldap/lib/env_ldap.mk'...OK. checking file '/ora/app/ldap/lib/ins_ldap.mk'...OK. checking file '/ora/app/ldap/demo/demo_ldap.mk'...OK. checking file '/ora/app/sqlplus/lib/env_sqlplus.mk'...OK. checking file '/ora/app/sqlplus/lib/ins_sqlplus.mk'...OK. checking file '/ora/app/ord/im/lib/env_ordim.mk'...OK. checking file '/ora/app/ord/img/demo/demo_ordimg.mk'...OK. checking file '/ora/app/otrace/demo/atmoci.mk'...OK. checking file '/ora/app/otrace/lib/env_otrace.mk'...OK. checking file '/ora/app/otrace/lib/ins_otrace.mk'...OK. Rebuilding client shared library...+ PATH=/compat/linux/usr/bin:/compat/linux/bin: + export PATH + PRODUCTS=rdbms precomp plsql ldap network + errCount=0 + SHREPT=/ora/app/rdbms/admin/shrept.lst + '[' '!' -f /ora/app/rdbms/admin/shrept.lst ']' + SHREPT=/ora/app/precomp/admin/shrept.lst + '[' '!' -f /ora/app/precomp/admin/shrept.lst ']' + SHREPT=/ora/app/plsql/admin/shrept.lst + '[' '!' -f /ora/app/plsql/admin/shrept.lst ']' + SHREPT=/ora/app/ldap/admin/shrept.lst + '[' '!' -f /ora/app/ldap/admin/shrept.lst ']' + SHREPT=/ora/app/network/admin/shrept.lst + '[' '!' -f /ora/app/network/admin/shrept.lst ']' + '[' 0 '!=' 0 ']' + LSQL=-lsql8 + LPLSQL=-lpls8 + LMM=-lmm + LCLIENT=-lclient8 + LCOMMON=-lcommon8 + LGENERIC=-lgeneric8 + LNLSRTL=-lnls8 + LCORE=-lcore8 + LTRACE=-ltrace8 + LLDAP=-lldapclnt8 + LWTC=-lwtc8 ++ cat /ora/app/lib/ldflags /ora/app/bin/genclntsh: cat: command not found + LDFLAGS= + LNETWORK= -ln8 -lnl8 -lnro8 ++ listf_rdbms ++ fmt_syms ++ awk '/[ \t]*#/ {next}\ {printf " -u %s", $1}' ++ entryList=/ora/app/rdbms/admin/shrept.lst /ora/app/bin/genclntsh: awk: command not found ++ grep -v '#' /ora/app/rdbms/admin/shrept.lst ++ grep rdbms ++ awk '{print $3}' /ora/app/bin/genclntsh: awk: command not found + SYMS_OCIC= -lclient8 ++ listf_precomp ++ fmt_syms ++ awk '/[ \t]*#/ {next}\ {printf " -u %s", $1}' /ora/app/bin/genclntsh: awk: command not found ++ entryList=/ora/app/precomp/admin/shrept.lst ++ grep -v '#' /ora/app/precomp/admin/shrept.lst ++ awk '{print $3}' /ora/app/bin/genclntsh: awk: command not found ++ grep precomp + SYMS_SQL= -lsql8 ++ listf_plsql ++ entryList=/ora/app/plsql/admin/shrept.lst ++ fmt_syms ++ awk '/[ \t]*#/ {next}\ {printf " -u %s", $1}' /ora/app/bin/genclntsh: awk: command not found ++ grep plsql ++ awk '{print $3}' /ora/app/bin/genclntsh: awk: command not found ++ grep -v '#' /ora/app/plsql/admin/shrept.lst + SYMS_PLSQL= -lpls8 ++ listf_ldap ++ fmt_syms ++ awk '/[ \t]*#/ {next}\ {printf " -u %s", $1}' ++ entryList=/ora/app/ldap/admin/shrept.lst /ora/app/bin/genclntsh: awk: command not found ++ grep -v '#' /ora/app/ldap/admin/shrept.lst ++ grep ldap ++ awk '{print $3}' /ora/app/bin/genclntsh: awk: command not found + SYMS_LDAP= -lldapclnt8 ++ listf_network ++ fmt_syms ++ awk '/[ \t]*#/ {next}\ {printf " -u %s", $1}' ++ entryList=/ora/app/network/admin/shrept.lst /ora/app/bin/genclntsh: awk: command not found ++ grep network ++ awk '{print $3}' /ora/app/bin/genclntsh: awk: command not found ++ grep -v '#' /ora/app/network/admin/shrept.lst + SYMS_NETWORK= -ln8 -lnl8 -lnro8 + CLNT_NAM=clntsh + CLNT_VER=8.0 + CLNT_LNK=libclntsh.so + CLNT_LIB=libclntsh.so.8.0 + '[' '' '!=' '' ']' + LIB_DIR=/ora/app/lib + '[' -h /ora/app/lib/libclntsh.so.8.0 ']' + MAPFILE=/ora/app/lib/clntsh.map + LD=ld -shared -L/ora/app/lib + LD_RUNTIME=-R/ora/app/lib + LD_OPT=-Map /ora/app/lib/clntsh.map -h libclntsh.so.8.0 + LD_OUT=-o /ora/app/lib/libclntsh.so.8.0 + LD_SELF_CONTAINED=-z defs + DEF_ON=/ora/app/rdbms/lib/kpudfo.o + SSDBED=/ora/app/rdbms/lib/ssdbaed.o + NAUTAB=/ora/app/lib/nautab.o + NAETAB=/ora/app/lib/naeet.o /ora/app/lib/naect.o + NAEDHS=/ora/app/lib/naedhs.o + ATCH_DEF=/ora/app/rdbms/lib/kpuadef.o + OLIBS=-lclient8 -lsql8 -ln8 -lnl8 -lnro8 -lclient8 -lcommon8 -lgeneric8 -lmm /ora/app/rdbms/lib/xaondy.o -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lwtc8 -ln8 -lnl8 -lnro8 -lclient8 -lcommon8 -lgeneric8 -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 ++ cat /ora/app/lib/sysliblist /ora/app/bin/genclntsh: cat: command not found + SYSLIBS= -ldl -lm -lc + /bin/rm -f /ora/app/lib/libclntsh.so.8.0 /ora/app/lib/clntsh.map + ld -shared -L/ora/app/lib -R/ora/app/lib -Map /ora/app/lib/clntsh.map -h libclntsh.so.8.0 -o /ora/app/lib/libclntsh.so.8.0 -z defs /ora/app/rdbms/lib/kpudfo.o /ora/app/rdbms/lib/ssdbaed.o /ora/app/lib/nautab.o /ora/app/lib/naeet.o /ora/app/lib/naect.o /ora/app/lib/naedhs.o -lsql8 /ora/app/rdbms/lib/kpuadef.o -lpls8 -lclient8 -lldapclnt8 -ln8 -lnl8 -lnro8 -lclient8 -lsql8 -ln8 -lnl8 -lnro8 -lclient8 -lcommon8 -lgeneric8 -lmm /ora/app/rdbms/lib/xaondy.o -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lwtc8 -ln8 -lnl8 -lnro8 -lclient8 -lcommon8 -lgeneric8 -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -ldl -lm -lc /ora/app/lib/libclient8.a(skgup.o): In function `skgupii': skgup.o(.text+0xa05): undefined reference to `pthread_mutexattr_init' skgup.o(.text+0xa0b): undefined reference to `pthread_mutexattr_destroy' /ora/app/lib/libn8.a(nzb.o): In function `nzbEncVKey': nzb.o(.text+0x1ed3): undefined reference to `ZeroBuffer' nzb.o(.text+0x1edf): undefined reference to `ZeroBuffer' nzb.o(.text+0x1ee8): undefined reference to `ZeroBuffer' nzb.o(.text+0x1f4f): undefined reference to `PKCS5EncryptDER' nzb.o(.text+0x1f71): undefined reference to `FreeBuffer' nzb.o(.text+0x1f77): undefined reference to `FreeBuffer' /ora/app/lib/libn8.a(nzb.o): In function `nzbEncodePK': nzb.o(.text+0x2005): undefined reference to `ASNAllocateElement' nzb.o(.text+0x2028): undefined reference to `PKCS1EncodePrivateKey' nzb.o(.text+0x2038): undefined reference to `PKCS8EncodePrivateKey' nzb.o(.text+0x2053): undefined reference to `ASNEncodeDER' nzb.o(.text+0x2060): undefined reference to `ASNFreeElement' /ora/app/lib/libn8.a(nae.o): In function `naeccn': nae.o(.text+0xf85): undefined reference to `naedhpk' nae.o(.text+0x103e): undefined reference to `naedhsk' /ora/app/lib/libn8.a(nae.o): In function `naecsn': nae.o(.text+0x190e): undefined reference to `naedhp' nae.o(.text+0x19d0): undefined reference to `naedhpk' nae.o(.text+0x1a6b): undefined reference to `naedhsk' /ora/app/lib/libn8.a(naefips.o): In function `naefips': naefips.o(.text+0x33f): undefined reference to `naeshai' naefips.o(.text+0x39b): undefined reference to `naeshau' naefips.o(.text+0x3b4): undefined reference to `naeshaf' /ora/app/lib/libn8.a(nnfgt.o)(.rodata+0x64): undefined reference to `nnftboot' /ora/app/lib/libn8.a(nnfgt.o)(.rodata+0x74): undefined reference to `nnfoboot' /ora/app/lib/libn8.a(nnfgt.o)(.rodata+0x84): undefined reference to `nnfhboot' /ora/app/lib/libn8.a(nnfgt.o)(.rodata+0x94): undefined reference to `nnflboot' /ora/app/lib/libn8.a(ntcontab.o)(.data+0x4): undefined reference to `nttini' /ora/app/lib/libn8.a(ntcontab.o)(.data+0x14): undefined reference to `ntzini' /ora/app/lib/libn8.a(ntcontab.o)(.data+0x34): undefined reference to `ntpini' /ora/app/lib/libn8.a(ntcontab.o)(.data+0x44): undefined reference to `ntusini' /ora/app/lib/libnl8.a(nlol.o): In function `nlolgcmru': nlol.o(.text+0x628): undefined reference to `nnflrne' nlol.o(.text+0x6c7): undefined reference to `nnflgav' /ora/app/lib/libnl8.a(nlol.o): In function `nlolfaddr': nlol.o(.text+0x8a3): undefined reference to `nnflrne' nlol.o(.text+0x8d3): undefined reference to `nnflgav' nlol.o(.text+0xb18): undefined reference to `nnflgav' nlol.o(.text+0x15fe): undefined reference to `nnflfrm' /ora/app/lib/libnl8.a(nlol.o): In function `nlolglist': nlol.o(.text+0x1770): undefined reference to `nnflgav' nlol.o(.text+0x1f66): undefined reference to `nnflfrm' /ora/app/lib/libnl8.a(nlol.o): In function `nlolgprof': nlol.o(.text+0x20ff): undefined reference to `nnflgav' nlol.o(.text+0x23a3): undefined reference to `nnflrne' nlol.o(.text+0x23cd): undefined reference to `nnflgav' nlol.o(.text+0x24e0): undefined reference to `nnflfrm' nlol.o(.text+0x27e6): undefined reference to `nnflfrm' /ora/app/lib/libnl8.a(nlol.o): In function `nlolgcman': nlol.o(.text+0x2987): undefined reference to `nnflgav' /ora/app/lib/libnl8.a(nlol.o): In function `nlolgobj': nlol.o(.text+0x3675): undefined reference to `nnflrne' nlol.o(.text+0x3767): undefined reference to `nnflrne' nlol.o(.text+0x37f3): undefined reference to `nnflrne' nlol.o(.text+0x3833): undefined reference to `nnflgav' nlol.o(.text+0x3891): undefined reference to `nnflrne' nlol.o(.text+0x395d): undefined reference to `nnflrne' /ora/app/lib/libcore8.a(slts.o): In function `sltsimt': slts.o(.text+0x10d): undefined reference to `pthread_mutex_trylock' /ora/app/lib/libcore8.a(slts.o): In function `sltskyc': slts.o(.text+0x16e): undefined reference to `pthread_key_create' /ora/app/lib/libcore8.a(slts.o): In function `sltskyg': slts.o(.text+0x204): undefined reference to `pthread_getspecific' /ora/app/lib/libcore8.a(slts.o): In function `sltskys': slts.o(.text+0x248): undefined reference to `pthread_setspecific' /ora/app/lib/libcore8.a(sltsm.o): In function `sltsmdt': sltsm.o(.text+0x13a): undefined reference to `pthread_mutex_trylock' /ora/app/lib/libcore8.a(sltsm.o): In function `sltsmnt': sltsm.o(.text+0x209): undefined reference to `pthread_mutex_trylock' /ora/app/lib/libcore8.a(sltspc.o): In function `sltspctimewait': sltspc.o(.text+0x227): undefined reference to `pthread_cond_timedwait' /ora/app/lib/libcore8.a(sltst.o): In function `sltstcr': sltst.o(.text+0x196): undefined reference to `pthread_create' /ora/app/lib/libcore8.a(sltst.o): In function `sltstjn': sltst.o(.text+0x548): undefined reference to `pthread_join' /ora/app/lib/libcore8.a(sltst.o): In function `sltstkill': sltst.o(.text+0x639): undefined reference to `pthread_kill' /ora/app/lib/libcore8.a(sltst.o): In function `sltstspawn': sltst.o(.text+0x826): undefined reference to `pthread_create' /ora/app/lib/libcore8.a(sslts.o): In function `ssltssigmask': sslts.o(.text+0x10): undefined reference to `pthread_sigmask' /ora/app/lib/libcore8.a(sslts.o): In function `ssltstraise': sslts.o(.text+0x3c): undefined reference to `pthread_kill' /lib/libc.so.6: undefined reference to `_dl_lazy@GLIBC_2.1.1' /lib/libc.so.6: undefined reference to `_dl_dst_substitute@GLIBC_2.1.1' /lib/libc.so.6: undefined reference to `_dl_out_of_memory@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_relocate_object@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_clktck@GLIBC_2.2' /lib/libc.so.6: undefined reference to `__libc_enable_secure@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_catch_error@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_platformlen@GLIBC_2.1.1' /lib/libc.so.6: undefined reference to `_dl_lookup_versioned_symbol_skip@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_lookup_versioned_symbol@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_mcount@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_dst_count@GLIBC_2.1.1' /lib/libc.so.6: undefined reference to `_dl_initial_searchlist@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_start_profile@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_lookup_symbol@GLIBC_2.0' /lib/libc.so.6: undefined reference to `__libc_stack_end@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_argv@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_loaded@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_origin_path@GLIBC_2.1.1' /lib/libc.so.6: undefined reference to `_dl_check_map_versions@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_map_object@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_main_searchlist@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_debug_mask@GLIBC_2.2.3' /lib/libc.so.6: undefined reference to `_dl_load_lock@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_profile@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_debug_state@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_init_all_dirs@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_r_debug@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_unload_cache@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_signal_error@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_debug_printf@GLIBC_2.2.3' /lib/libc.so.6: undefined reference to `_dl_init@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_all_dirs@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_map_object_deps@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_nloaded@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_profile_map@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_profile_output@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_pagesize@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_lookup_symbol_skip@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_fpu_control@GLIBC_2.1' /usr/lib/libdl.so: undefined reference to `_dl_catch_error' /lib/libc.so.6: undefined reference to `_dl_global_scope_alloc@GLIBC_2.1' still like libdl isnt there.. but.. su-2.04$ ls /compat/linux/usr/lib/*dl* /compat/linux/usr/lib/libdl.a /compat/linux/usr/lib/libreadline.so.4 /compat/linux/usr/lib/libdl.so /compat/linux/usr/lib/libreadline.so.4.1 su-2.04$ ls -l /compat/linux/usr/lib/*dl* -rw-r--r-- 1 root wheel 47240 Nov 5 2003 /compat/linux/usr/lib/libdl.a lrwxr-xr-x 1 root wheel 20 Nov 2 20:16 /compat/linux/usr/lib/libdl.so -> ../../lib/libdl.so.2 >On Tue, 2004-11-02 at 17:19, Jon Adams wrote: > > >>Dima Dorfman wrote: >> >> >> >>>[Jon Adams] >>> >>> >>> >>> >>>>>>bash-2.04$ ./setup_stubs.sh >>>>>>Setting up patch files...done. >>>>>>Patching makefiles as necessary: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>... >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Rebuilding client shared library...ld: cannot find -ldl >>>>>> >>>>>> >>>>>> >>>>>> >>>[Dima Dorfman] >>> >>> >>> >>> >>>>>You should be compiling and running everything Oracle-related under >>>>>Linux emulation, and if you installed the linux_devtools port, you >>>>>should have libdl in /compat/linux/lib. I suspect that either you >>>>>aren't running under Linux emulation or that you don't have that port >>>>>installed. >>>>> >>>>> >>>>> >>>>> >>>[Jon Adams] >>> >>> >>> >>> >>>>I do have libdl >>>> >>>> >>>> >>>> >>>> >>>... >>> >>> >>> >>> >>>>do I need to put a -L somewhere in the oracle files, do I need to modify >>>>my LD_INCLUDE_PATH ? >>>> >>>> >>>> >>>> >>>/lib is almost certainly already in the library path. The most likely >>>explanation is that the compiler (or linker, or whatever is trying to >>>access libdl) isn't running under Linux emulation. Even if you start >>>something from a compat shell, it can break out of the emulator if >>>something tries to run a FreeBSD binary. We need to find the command >>>that it's trying to run when it fails. Find the script that it's in (it >>>might be setup_stubs, but it might be another one) and run it with the >>>-x option to sh to show the commands being executed. >>> >>> >>> >>... >>I set my path to /compat/linux/bin:/compat/linux/usr/bin and noticed >>that the linker ld itself doesnt exist in the linux compat.... >>perhaps this is the problem? >> >> >> >>>Dima. >>> >>> >>> >>> >>> >>-- >>........................... >>Jon Adams - >>"Chance favors the prepared mind" >>web: http://webpages.uncc.edu/~jkadams >>AOL IM: j2k4real >>GPG Sig: 2965 F58A 5DF8 B4C5 16D2 0AB4 ACE2 C4A1 D105 50D2 >> >> >> > > > -- ........................... Jon Adams - "Chance favors the prepared mind" email: jka@ja6.com | jkadams@computer.org web: http://webpages.uncc.edu/~jkadams AOL IM: j2k4real GPG Sig: 2965 F58A 5DF8 B4C5 16D2 0AB4 ACE2 C4A1 D105 50D2 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-database@FreeBSD.ORG Wed Nov 3 01:36:33 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B55816A4CE; Wed, 3 Nov 2004 01:36:33 +0000 (GMT) Received: from x.ja6.com (x.ja6.com [64.239.13.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF83C43D76; Wed, 3 Nov 2004 01:36:32 +0000 (GMT) (envelope-from jkadams@computer.org) Received: from [192.168.1.100] (localhost.localdomain [127.0.0.1]) (authenticated bits=0) by x.ja6.com (8.12.10/8.12.9) with ESMTP id iA31aMwS000925; Tue, 2 Nov 2004 20:36:23 -0500 Message-ID: <41883612.6050005@computer.org> Date: Tue, 02 Nov 2004 20:36:18 -0500 From: Jon Adams User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dima Dorfman , freebsd-database@freebsd.org References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> <20041101024029.GD22539@trit.org> <41880E77.50402@computer.org> <20041102233849.GA19151@trit.org> In-Reply-To: <20041102233849.GA19151@trit.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: notspam (whitelisted), spamassassin (score=-104.9, required 5, autolearn=not spam, BAYES_00, USER_IN_WHITELIST) Subject: Re: Oracle 8i (8.1.7), FreeBSD 5.1 i386 installation questions X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jkadams@computer.org List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 01:36:33 -0000 Dima Dorfman wrote: >Jon Adams wrote: > > >>Ran setup_stubs.sh with -x by itself... this is the output... I have no >>idea where the bad command is... >> >> > >Scott responded to your other email indicating that you should have a >/compat/linux/usr/bin/ld. Not having that is a likely cause for this >problem. If that turns out not to be it, however: > > > >>+ echo -n 'Rebuilding client shared library...' >>+ /ora/app/bin/genclntsh >> >> > >The bad command is inside that file, which is probably a shell script. >Running it with -x should give more details. > > heres the -x output: su-2.04$ /ora/app/bin/genclntsh + PATH=/compat/linux/usr/bin:/compat/linux/bin: + export PATH + PRODUCTS=rdbms precomp plsql ldap network + errCount=0 + SHREPT=/ora/app/rdbms/admin/shrept.lst + '[' '!' -f /ora/app/rdbms/admin/shrept.lst ']' + SHREPT=/ora/app/precomp/admin/shrept.lst + '[' '!' -f /ora/app/precomp/admin/shrept.lst ']' + SHREPT=/ora/app/plsql/admin/shrept.lst + '[' '!' -f /ora/app/plsql/admin/shrept.lst ']' + SHREPT=/ora/app/ldap/admin/shrept.lst + '[' '!' -f /ora/app/ldap/admin/shrept.lst ']' + SHREPT=/ora/app/network/admin/shrept.lst + '[' '!' -f /ora/app/network/admin/shrept.lst ']' + '[' 0 '!=' 0 ']' + LSQL=-lsql8 + LPLSQL=-lpls8 + LMM=-lmm + LCLIENT=-lclient8 + LCOMMON=-lcommon8 + LGENERIC=-lgeneric8 + LNLSRTL=-lnls8 + LCORE=-lcore8 + LTRACE=-ltrace8 + LLDAP=-lldapclnt8 + LWTC=-lwtc8 ++ cat /ora/app/lib/ldflags /ora/app/bin/genclntsh: cat: command not found + LDFLAGS= + LNETWORK= -ln8 -lnl8 -lnro8 ++ listf_rdbms ++ fmt_syms ++ awk '/[ \t]*#/ {next}\ {printf " -u %s", $1}' ++ entryList=/ora/app/rdbms/admin/shrept.lst /ora/app/bin/genclntsh: awk: command not found ++ grep -v '#' /ora/app/rdbms/admin/shrept.lst ++ grep rdbms ++ awk '{print $3}' /ora/app/bin/genclntsh: awk: command not found + SYMS_OCIC= -lclient8 ++ listf_precomp ++ entryList=/ora/app/precomp/admin/shrept.lst ++ fmt_syms ++ awk '/[ \t]*#/ {next}\ {printf " -u %s", $1}' ++ grep -v '#' /ora/app/precomp/admin/shrept.lst ++ grep precomp ++ awk '{print $3}' /ora/app/bin/genclntsh: awk: command not found /ora/app/bin/genclntsh: awk: command not found + SYMS_SQL= -lsql8 ++ listf_plsql ++ entryList=/ora/app/plsql/admin/shrept.lst ++ fmt_syms ++ awk '/[ \t]*#/ {next}\ {printf " -u %s", $1}' ++ grep -v '#' /ora/app/plsql/admin/shrept.lst /ora/app/bin/genclntsh: awk: command not found ++ grep plsql ++ awk '{print $3}' /ora/app/bin/genclntsh: awk: command not found + SYMS_PLSQL= -lpls8 ++ listf_ldap ++ entryList=/ora/app/ldap/admin/shrept.lst ++ grep -v '#' /ora/app/ldap/admin/shrept.lst ++ grep ldap ++ awk '{print $3}' /ora/app/bin/genclntsh: awk: command not found ++ fmt_syms ++ awk '/[ \t]*#/ {next}\ {printf " -u %s", $1}' /ora/app/bin/genclntsh: awk: command not found + SYMS_LDAP= -lldapclnt8 ++ listf_network ++ entryList=/ora/app/network/admin/shrept.lst ++ fmt_syms ++ awk '/[ \t]*#/ {next}\ {printf " -u %s", $1}' ++ grep -v '#' /ora/app/network/admin/shrept.lst ++ grep network /ora/app/bin/genclntsh: awk: command not found ++ awk '{print $3}' /ora/app/bin/genclntsh: awk: command not found + SYMS_NETWORK= -ln8 -lnl8 -lnro8 + CLNT_NAM=clntsh + CLNT_VER=8.0 + CLNT_LNK=libclntsh.so + CLNT_LIB=libclntsh.so.8.0 + '[' '' '!=' '' ']' + LIB_DIR=/ora/app/lib + '[' -h /ora/app/lib/libclntsh.so.8.0 ']' + MAPFILE=/ora/app/lib/clntsh.map + LD=ld -shared -L/ora/app/lib + LD_RUNTIME=-R/ora/app/lib + LD_OPT=-Map /ora/app/lib/clntsh.map -h libclntsh.so.8.0 + LD_OUT=-o /ora/app/lib/libclntsh.so.8.0 + LD_SELF_CONTAINED=-z defs + DEF_ON=/ora/app/rdbms/lib/kpudfo.o + SSDBED=/ora/app/rdbms/lib/ssdbaed.o + NAUTAB=/ora/app/lib/nautab.o + NAETAB=/ora/app/lib/naeet.o /ora/app/lib/naect.o + NAEDHS=/ora/app/lib/naedhs.o + ATCH_DEF=/ora/app/rdbms/lib/kpuadef.o + OLIBS=-lclient8 -lsql8 -ln8 -lnl8 -lnro8 -lclient8 -lcommon8 -lgeneric8 -lmm /ora/app/rdbms/lib/xaondy.o -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lwtc8 -ln8 -lnl8 -lnro8 -lclient8 -lcommon8 -lgeneric8 -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 ++ cat /ora/app/lib/sysliblist /ora/app/bin/genclntsh: cat: command not found + SYSLIBS= -ldl -lm -lc + /bin/rm -f /ora/app/lib/libclntsh.so.8.0 /ora/app/lib/clntsh.map + ld -shared -L/ora/app/lib -R/ora/app/lib -Map /ora/app/lib/clntsh.map -h libclntsh.so.8.0 -o /ora/app/lib/libclntsh.so.8.0 -z defs /ora/app/rdbms/lib/kpudfo.o /ora/app/rdbms/lib/ssdbaed.o /ora/app/lib/nautab.o /ora/app/lib/naeet.o /ora/app/lib/naect.o /ora/app/lib/naedhs.o -lsql8 /ora/app/rdbms/lib/kpuadef.o -lpls8 -lclient8 -lldapclnt8 -ln8 -lnl8 -lnro8 -lclient8 -lsql8 -ln8 -lnl8 -lnro8 -lclient8 -lcommon8 -lgeneric8 -lmm /ora/app/rdbms/lib/xaondy.o -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lwtc8 -ln8 -lnl8 -lnro8 -lclient8 -lcommon8 -lgeneric8 -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -ldl -lm -lc /ora/app/lib/libclient8.a(skgup.o): In function `skgupii': skgup.o(.text+0xa05): undefined reference to `pthread_mutexattr_init' skgup.o(.text+0xa0b): undefined reference to `pthread_mutexattr_destroy' /ora/app/lib/libn8.a(nzb.o): In function `nzbEncVKey': nzb.o(.text+0x1ed3): undefined reference to `ZeroBuffer' nzb.o(.text+0x1edf): undefined reference to `ZeroBuffer' nzb.o(.text+0x1ee8): undefined reference to `ZeroBuffer' nzb.o(.text+0x1f4f): undefined reference to `PKCS5EncryptDER' nzb.o(.text+0x1f71): undefined reference to `FreeBuffer' nzb.o(.text+0x1f77): undefined reference to `FreeBuffer' /ora/app/lib/libn8.a(nzb.o): In function `nzbEncodePK': nzb.o(.text+0x2005): undefined reference to `ASNAllocateElement' nzb.o(.text+0x2028): undefined reference to `PKCS1EncodePrivateKey' nzb.o(.text+0x2038): undefined reference to `PKCS8EncodePrivateKey' nzb.o(.text+0x2053): undefined reference to `ASNEncodeDER' nzb.o(.text+0x2060): undefined reference to `ASNFreeElement' /ora/app/lib/libn8.a(nae.o): In function `naeccn': nae.o(.text+0xf85): undefined reference to `naedhpk' nae.o(.text+0x103e): undefined reference to `naedhsk' /ora/app/lib/libn8.a(nae.o): In function `naecsn': nae.o(.text+0x190e): undefined reference to `naedhp' nae.o(.text+0x19d0): undefined reference to `naedhpk' nae.o(.text+0x1a6b): undefined reference to `naedhsk' /ora/app/lib/libn8.a(naefips.o): In function `naefips': naefips.o(.text+0x33f): undefined reference to `naeshai' naefips.o(.text+0x39b): undefined reference to `naeshau' naefips.o(.text+0x3b4): undefined reference to `naeshaf' /ora/app/lib/libn8.a(nnfgt.o)(.rodata+0x64): undefined reference to `nnftboot' /ora/app/lib/libn8.a(nnfgt.o)(.rodata+0x74): undefined reference to `nnfoboot' /ora/app/lib/libn8.a(nnfgt.o)(.rodata+0x84): undefined reference to `nnfhboot' /ora/app/lib/libn8.a(nnfgt.o)(.rodata+0x94): undefined reference to `nnflboot' /ora/app/lib/libn8.a(ntcontab.o)(.data+0x4): undefined reference to `nttini' /ora/app/lib/libn8.a(ntcontab.o)(.data+0x14): undefined reference to `ntzini' /ora/app/lib/libn8.a(ntcontab.o)(.data+0x34): undefined reference to `ntpini' /ora/app/lib/libn8.a(ntcontab.o)(.data+0x44): undefined reference to `ntusini' /ora/app/lib/libnl8.a(nlol.o): In function `nlolgcmru': nlol.o(.text+0x628): undefined reference to `nnflrne' nlol.o(.text+0x6c7): undefined reference to `nnflgav' /ora/app/lib/libnl8.a(nlol.o): In function `nlolfaddr': nlol.o(.text+0x8a3): undefined reference to `nnflrne' nlol.o(.text+0x8d3): undefined reference to `nnflgav' nlol.o(.text+0xb18): undefined reference to `nnflgav' nlol.o(.text+0x15fe): undefined reference to `nnflfrm' /ora/app/lib/libnl8.a(nlol.o): In function `nlolglist': nlol.o(.text+0x1770): undefined reference to `nnflgav' nlol.o(.text+0x1f66): undefined reference to `nnflfrm' /ora/app/lib/libnl8.a(nlol.o): In function `nlolgprof': nlol.o(.text+0x20ff): undefined reference to `nnflgav' nlol.o(.text+0x23a3): undefined reference to `nnflrne' nlol.o(.text+0x23cd): undefined reference to `nnflgav' nlol.o(.text+0x24e0): undefined reference to `nnflfrm' nlol.o(.text+0x27e6): undefined reference to `nnflfrm' /ora/app/lib/libnl8.a(nlol.o): In function `nlolgcman': nlol.o(.text+0x2987): undefined reference to `nnflgav' /ora/app/lib/libnl8.a(nlol.o): In function `nlolgobj': nlol.o(.text+0x3675): undefined reference to `nnflrne' nlol.o(.text+0x3767): undefined reference to `nnflrne' nlol.o(.text+0x37f3): undefined reference to `nnflrne' nlol.o(.text+0x3833): undefined reference to `nnflgav' nlol.o(.text+0x3891): undefined reference to `nnflrne' nlol.o(.text+0x395d): undefined reference to `nnflrne' /ora/app/lib/libcore8.a(slts.o): In function `sltsimt': slts.o(.text+0x10d): undefined reference to `pthread_mutex_trylock' /ora/app/lib/libcore8.a(slts.o): In function `sltskyc': slts.o(.text+0x16e): undefined reference to `pthread_key_create' /ora/app/lib/libcore8.a(slts.o): In function `sltskyg': slts.o(.text+0x204): undefined reference to `pthread_getspecific' /ora/app/lib/libcore8.a(slts.o): In function `sltskys': slts.o(.text+0x248): undefined reference to `pthread_setspecific' /ora/app/lib/libcore8.a(sltsm.o): In function `sltsmdt': sltsm.o(.text+0x13a): undefined reference to `pthread_mutex_trylock' /ora/app/lib/libcore8.a(sltsm.o): In function `sltsmnt': sltsm.o(.text+0x209): undefined reference to `pthread_mutex_trylock' /ora/app/lib/libcore8.a(sltspc.o): In function `sltspctimewait': sltspc.o(.text+0x227): undefined reference to `pthread_cond_timedwait' /ora/app/lib/libcore8.a(sltst.o): In function `sltstcr': sltst.o(.text+0x196): undefined reference to `pthread_create' /ora/app/lib/libcore8.a(sltst.o): In function `sltstjn': sltst.o(.text+0x548): undefined reference to `pthread_join' /ora/app/lib/libcore8.a(sltst.o): In function `sltstkill': sltst.o(.text+0x639): undefined reference to `pthread_kill' /ora/app/lib/libcore8.a(sltst.o): In function `sltstspawn': sltst.o(.text+0x826): undefined reference to `pthread_create' /ora/app/lib/libcore8.a(sslts.o): In function `ssltssigmask': sslts.o(.text+0x10): undefined reference to `pthread_sigmask' /ora/app/lib/libcore8.a(sslts.o): In function `ssltstraise': sslts.o(.text+0x3c): undefined reference to `pthread_kill' looks to me like it still doesnt see the libs -- ........................... Jon Adams - "Chance favors the prepared mind" email: jka@ja6.com | jkadams@computer.org web: http://webpages.uncc.edu/~jkadams AOL IM: j2k4real GPG Sig: 2965 F58A 5DF8 B4C5 16D2 0AB4 ACE2 C4A1 D105 50D2 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-database@FreeBSD.ORG Wed Nov 3 02:32:52 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C96816A4CE for ; Wed, 3 Nov 2004 02:32:52 +0000 (GMT) Received: from mail.atlasbook.com (particle-pat.atlasbook.com [66.161.22.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5194043D54 for ; Wed, 3 Nov 2004 02:32:52 +0000 (GMT) (envelope-from dd@freebsd.org) Received: from ajax.nimone.com (unknown [192.168.168.100]) by mail.atlasbook.com (Postfix) with ESMTP id 17476C9; Wed, 3 Nov 2004 02:32:52 +0000 (UTC) Received: (from dima@localhost) by ajax.nimone.com (8.11.6+Sun/8.10.2) id iA32WlE19341; Wed, 3 Nov 2004 02:32:47 GMT X-Authentication-Warning: ajax.nimone.com: dima set sender to dd@freebsd.org using -f Date: Wed, 3 Nov 2004 02:32:47 +0000 From: Dima Dorfman To: Jon Adams Message-ID: <20041103023247.GC19151@trit.org> References: <4183FB7B.2090506@computer.org> <20041031052052.GA22539@trit.org> <4184D6E5.7020009@computer.org> <20041101024029.GD22539@trit.org> <41881615.9090501@computer.org> <1099438265.83080.398.camel@scotth.emsphone.com> <4188339A.5080002@computer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4188339A.5080002@computer.org> User-Agent: Mutt/1.4i X-PGP-Key: 69FAE582 (http://www.trit.org/~dima/dima.asc) X-PGP-Fingerprint: B340 8338 7DA3 4D61 7632 098E 0730 055B 69FA E582 cc: freebsd-database@freebsd.org Subject: Re: Oracle 8i (8.1.7), FreeBSD 5.1 i386 installation questions X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 02:32:52 -0000 Jon Adams wrote: > Scott T. Hildreth wrote: > > >Did you install linux-devel? > > > > no apologies needed... I **thought** I had it, but I didnt... after > installing it I got this: ... > Rebuilding client shared library...+ > PATH=/compat/linux/usr/bin:/compat/linux/bin: Did you set the PATH like that? Don't put /compat/linux in there explicitly. Leave it as it normally is (/bin:/usr/bin:/usr/local/bin) and /compat/linux will be searched appropriately for you. This is causing all kinds of problems like > ++ cat /ora/app/lib/ldflags > /ora/app/bin/genclntsh: cat: command not found and > ++ awk '/[ \t]*#/ {next}\ > {printf " -u %s", $1}' > ++ entryList=/ora/app/rdbms/admin/shrept.lst > /ora/app/bin/genclntsh: awk: command not found (there are others, too). It looks like it's trying to build the symbol table, but without those tools, who knows what kind of garbage it produced. This certainly looks suspicious > + ld -shared -L/ora/app/lib -R/ora/app/lib -Map /ora/app/lib/clntsh.map > -h libclntsh.so.8.0 -o /ora/app/lib/libclntsh.so.8.0 -z defs > /ora/app/rdbms/lib/kpudfo.o /ora/app/rdbms/lib/ssdbaed.o > /ora/app/lib/nautab.o /ora/app/lib/naeet.o /ora/app/lib/naect.o > /ora/app/lib/naedhs.o -lsql8 /ora/app/rdbms/lib/kpuadef.o -lpls8 > -lclient8 -lldapclnt8 -ln8 -lnl8 -lnro8 -lclient8 -lsql8 -ln8 -lnl8 > -lnro8 -lclient8 -lcommon8 -lgeneric8 -lmm /ora/app/rdbms/lib/xaondy.o > -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lwtc8 -ln8 -lnl8 -lnro8 -lclient8 > -lcommon8 -lgeneric8 -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -ldl > -lm -lc because many libraries are listed more than once. From owner-freebsd-database@FreeBSD.ORG Sat Nov 6 03:13:10 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C7B716A4CE for ; Sat, 6 Nov 2004 03:13:10 +0000 (GMT) Received: from spoolo3.tiscali.be (spoolo3.tiscali.be [62.235.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id A903043D1F for ; Sat, 6 Nov 2004 03:13:09 +0000 (GMT) (envelope-from cedric@virtual-globe.net) Received: from [83.134.153.153] (helo=note01.decemplex.loc) by spoolo3.tiscali.be with esmtp (Tiscali.be http://www.tiscali.be) id 1CQH0m-0004en-Ct for ; Sat, 06 Nov 2004 04:13:08 +0100 Date: Sat, 6 Nov 2004 04:13:06 +0100 From: =?ISO-8859-15?B?Q+lkcmljIEpvbmFz?= X-Mailer: The Bat! (v2.11.02) X-Priority: 3 (Normal) Message-ID: <447094906.20041106041306@virtual-globe.net> To: freebsd-database@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Subject: Oracle 10 anyone? X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: =?ISO-8859-15?B?Q+lkcmljIEpvbmFz?= List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 03:13:10 -0000 Hallo, Ich habe gerade ihren Mailinglisten Eintrag (http://lists.freebsd.org/pipermail/freebsd-database/2004-June/000193.html) zu Oracle 10g gelesen - mich hätte mal interessiert ob sie dort weitergekommen sind... da ich zur Zeit am gleichen Problem festhänge. Falls es keine andere Lösung gibt, muss ich das dann halt reinprogrammieren... MfG, -- Cédric cedric@virtual-globe.net