Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 1999 18:52:03 +0200
From:      Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
To:        freebsd-emulation@FreeBSD.ORG
Subject:   Solved (Was: running Oracle 8.0.5)
Message-ID:  <19990824185203.A56005@dcse.fee.vutbr.cz>
In-Reply-To: <19990820195631.A11687@dcse.fee.vutbr.cz>; from Cejka Rudolf on Fri, Aug 20, 1999 at 07:56:31PM %2B0200
References:  <19990820104732.F602@bnc.net> <37BD2926.6AB82641@scc.nl> <19990820195631.A11687@dcse.fee.vutbr.cz>

next in thread | previous in thread | raw e-mail | index | archive | help

Uff. Now I have solved problems with Oracle 8.0.5 EE on our FreeBSD 3.2 box.

Cejka Rudolf wrote (1999/08/20):

> I have problems - but in another way: I'm trying to install package
> Oracle8051EE_Intel.tgz (all parts except ConText Cartridge) on
> system FreeBSD 3.2-STABLE with 128 MB RAM according to
> http://www.scc.nl/~marcel/howto-oracle.html - today (99/08/20) I have
> repeated all steps (with reinstalling linux_base and linux_devtools)
> with modified kernel according to installation suggestions too.
> ...
> [snip - you can find it in list archive]
> ...

First of all, I have reported that even with modified kernel according
to http://www.scc.nl/~marcel/howto-oracle.html Oracle still complaints
about insufficient memory. I'm sorry but it was my big mistake - nothing
was modified because I modified lines beginning with #... Grr...
At this time Oracle is quite happy about memory.

Before installation I had to carry additional steps into operation
(two were suggested, one is new):

===
cd <root of installation subtree>

patch bin/genclntsh <<END
  35c35
  < PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin	export PATH
  ---
  > #PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin	export PATH
END

patch bin/gensyslib <<END
  33c33
  < DFL_SYSLIB="-lnsl -lm"
  ---
  > DFL_SYSLIB="-lstdc++ -lnsl -lm"
END

patch orainst/rthd.sh <<END
  34c34
  < CHOWN=/bin/chown
  ---
  > CHOWN=/usr/sbin/chown
END
===

Installation:

Source: File Oracle8051EE_Intel.tgz
Target: Our FreeBSD 3.2
Some important checkpoints: Custom Install -> Install New Product
and Create DB Objects -> All products and all options selected (SQL*Plus
Help Facility and Demo Tables, ConText Cartridge demos...).

After some time the first error occurs: Missing libclntsh.so.1.0 in
$ORACLE_HOME/lib directory during 'Running pupbld.sql' action.
This library initially exists, but during "Oracle Intelligent Agent -
Relinking Oracle Intelligent Agent executable" action it is deleted
(it seems that this action is only first and some subsequent actions
would delete libclntsh.so.1.0 too). Never mind, it is easy on another
console to run genclntsh under oracle account and go further to second
error: Write error while copying Linux documentation. Never mind,
just run mkdir -p $ORACLE_HOME/doc/server.805/install an it is all.
Installation will proceed to the end without any additional error. Hurray.

I didn't need to apply steps
"cd ...; make -f ...; cd ...; ar ...; cd ...; make -f ..."
from section 3. Steps from 3.1 and 3.2 were applied before installation
as you can see above.

But it alarms me that ldd doesn't work correctly on my box. Is this
typical behavior? Please look:

===
[oracle@host oracle]$ echo $PATH
/compat/linux/bin:/compat/linux/sbin:/compat/linux/usr/bin:/compat/linux/usr/sbin:/home/oracle/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/X11R6/bin:/sbin:/usr/sbin:/home/oracle/app/oracle/product/8.0.5/bin

[oracle@host oracle]$ ls -l /bin/ls
-rwxr-xr-x   1 root     wheel       29308 Aug  6  1998 /bin/ls

[oracle@host oracle]$ ldd /bin/ls
/compat/linux/usr/bin/ldd: /lib/ld-linux.so.2: not found
	not a dynamic executable

[oracle@host oracle]$ ldd /compat/linux/bin/ls
/compat/linux/usr/bin/ldd: /lib/ld-linux.so.2: not found
	not a dynamic executable

[oracle@host oracle]$ ls -l /lib/ld-linux.so.2
lrwxr-xr-x   1 root     wheel          11 Aug 24 14:56 /lib/ld-linux.so.2 -> ld-2.0.7.so

[oracle@host oracle]$ ls -lL /lib/ld-linux.so.2
-rwxr-xr-x   1 root     wheel      160241 Oct 13  1998 /lib/ld-linux.so.2
===

Any suggestions?

-- 
Rudolf Cejka   (cejkar@dcse.fee.vutbr.cz;  http://www.fee.vutbr.cz/~cejkar)
Brno University of Technology, Faculty of El. Engineering and Comp. Science
Bozetechova 2, 612 66  Brno, Czech Republic


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990824185203.A56005>