Home » Infrastructure » Linux » Oracle 8.1.7 installation on Mandrake Linux 9.2 ?
Oracle 8.1.7 installation on Mandrake Linux 9.2 ? [message #98979] Wed, 28 January 2004 11:43 Go to next message
Alex
Messages: 190
Registered: August 1999
Senior Member
Hello Oracle / Mandrake Linux experts,
Was anyone able successfully install and configure Oracle 8.1.7 on Mandrake Linux 9.2 ? (I have to use this 8i Oracle version and can't go for 9.x or later unfortunately).
Basically installation seems fine (and I am using the same procedure that I publish for Mandrake Linux 9.0) - but ... it's just does not work. All hints like LD_ASSUME_KERNEL=2.2.5, unset for all LANG* and LC_* env
variables, correct JDK/JRE used, JRE 1.4.2 uninstalled from teh system (it was initially installed with Mandrake software)... Everything seems to be the same like I did for Mandrake 9.0 ...
Any hints / suggestions ?
From installation I only see one potential problem - one module failed to relink even after I install glib-2.1.3-stubs package (during this patch installation everything seems to be fine - i.e. all patched modules relinked O.K.) - but 1 module from Oracle Universal Installer failing (ins_rdbms.mk ? - I just don't have logs in front of me...)
Thank you beforehand,
Regards,
Alex
Re: Oracle 8.1.7 installation on Mandrake Linux 9.2 ? [message #98982 is a reply to message #98979] Mon, 02 February 2004 03:42 Go to previous messageGo to next message
Alex
Messages: 190
Registered: August 1999
Senior Member
Just some additional information - it seems that the problem is in relinking oracle - it can't build an 'oracle' binary - following error in the log file:

---cut---
- Linking Oracle
rm -f /apps/oracle/product/8.1.7/rdbms/lib/oracle
gcc -o /apps/oracle/product/8.1.7/rdbms/lib/oracle -L/apps/oracle/product/8.1.7/rdbms/lib/ -L/apps/oracle/product/8.1.7/lib/ -L/apps/oracle/product/8.1.7/lib//stubs/ -Wl,-E /apps/oracle/product/8.1.7/rdbms/lib/opimai.o /apps/oracle/product/8.1.7/rdbms/lib/ssoraed.o /apps/oracle/product/8.1.7/rdbms/lib/ttcsoi.o /apps/oracle/product/8.1.7/rdbms/lib/kpuasvr.o /apps/oracle/product/8.1.7/lib/nautab.o /apps/oracle/product/8.1.7/lib/naeet.o /apps/oracle/product/8.1.7/lib/naect.o /apps/oracle/product/8.1.7/lib/naedhs.o /apps/oracle/product/8.1.7/rdbms/lib/config.o -lserver8 -lskgxp8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 /apps/oracle/product/8.1.7/rdbms/lib/defopt.o -lknlopt -lslax8 -lpls8 -lplp8 -lserver8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -lknlopt -lslax8 -lpls8 -lplp8 `cat /apps/oracle/product/8.1.7/rdbms/lib/nmliblist` -ldbicx8 -ldbicx8 -ljox8 -lserver8 -lwwg8 -lobk `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -lmm -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lserver8 `if /usr/bin/ar tv /apps/oracle/product/8.1.7/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo8"; fi` -lordts8 -lctxc8 -lctx8 -lzx8 -lgx8 -lctx8 -lzx8 -lgx8 -lordvirt8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat /apps/oracle/product/8.1.7/lib/sysliblist` `if [[ -f /usr/lib/libsched.so ]] ; then echo -lsched ; else true; fi` -Wl,-rpath,/apps/oracle/product/8.1.7/lib:/lib:/usr/lib -lm `cat /apps/oracle/product/8.1.7/lib/sysliblist` `if [[ -f /usr/lib/libsched.so ]] ; then echo -lsched ; else true; fi` -ldl -lm -ldl `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lsql8 -lsql8

/usr//bin/ld: /apps/oracle/product/8.1.7/rdbms/lib/oracle: hidden symbol `__fixunssfdi' in /usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/libgcc.a(_fixunssfdi.oS) is referenced by DSO
collect2: ld returned 1 exit status
make: *** [[/apps/oracle/product/8.1.7/rdbms/lib/oracle]] Error 1
---cut---

Any suggestion how to fix it ?
Re: Oracle 8.1.7 installation on Mandrake Linux 9.2 ? [message #98984 is a reply to message #98979] Sat, 07 February 2004 11:31 Go to previous messageGo to next message
Alex
Messages: 190
Registered: August 1999
Senior Member
Hello All again,
As I could see it seems that apart from myself no one tried to install Oracle 8.1.7 on Mandrake 9.2...
Or no one want to share the secret how to do that.
So this is solution that I found - it's not the best one (I haven't had enough time to create better solution) - but I could confirm that it allowed me to install and recompile all Oracle 8.1.7 modules - and it seems that database working fine now.
Main issue is libgcc.a library which is included with
Mandrake 9.2 GCC 3.3.1 package (which installed by default if you select development option). This library allow you to build all modules apart from main "oracle" binary...
So workaround is to replace this library for "oracle" module linking with libgcc.a from GCC 2.95 package which is also available with Mandrake 9.2.
You could use any method to extract this library from .rpm module: gcc2.96-2.96-0.83mdk.i586.rpm (you could use any tool - in my case mc was used) - but to replace the lib you have to have root access otherwise you would not be able to replace it in :
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/
directory. Of cause first you have to make backup of that module from gcc3.3.1 (i.e. copy libgcc.a to libgcc.a_gcc331) then replace this lib from gcc2.95 package, finish oracle relinking and then replace it back.
Of cause it's possible to create better solution and change LD_LIBRARY_PATH for oracle module - so that it would pick it from correct non default location - but as I said above - I haven't had time to do so.
Anyway - as you could see it is possible to install and use Oracle 8.1.7 on Mandrake Linux 9.2 !!!
Good luck !
Regards,
Alex
Re: Oracle 8.1.7 installation on Mandrake Linux 9.2 ? [message #99003 is a reply to message #98984] Mon, 01 March 2004 09:04 Go to previous message
mando
Messages: 3
Registered: January 2004
Junior Member
will you plz email me

i'm having a problem creating

database itself

i installed oracle 8.1.7 over mandrake 8.1

keep in touch
Previous Topic: Multiple database on Linux
Next Topic: OUI hangs on first Page
Goto Forum:
  


Current Time: Fri Mar 29 08:14:34 CDT 2024