Oracle 9i Installation [message #109728] |
Mon, 28 February 2005 05:20 |
Persuader
Messages: 2 Registered: February 2005
|
Junior Member |
|
|
I've got the following problem:
While the installation of Oracle I get this linking phase error-message:
"Error invoking target install of makefile /home/oracle/OraHome1/plsql/lib/ins_plsql.mk"
I've tested this solution:
In your $ORACLE_HOME/bin edit with vi the genclntsh file, and search the line LD_SELF_CONTAINED="-z defs", and replace by LD_SELF_CONTAINED="". Save and exit.
Run the genclntsh script (as oracle user with $ORACLE_HOME set !)
Go back to Universal Installer and click RETRY ...
But after I run the genclntsh script I get this error:
oracle@valhalla:~$ /home/oracle/OraHome1/bin/genclntsh
basename: too few arguments
Try `basename --help' for more information.
cp: missing file argument
Try `cp --help' for more information.
cp: cannot stat `/DISCARD/': No such file or directory
ar: creating /home/oracle/OraHome1/lib/libclntst9.a
Created /home/oracle/OraHome1/lib/libclntst9.a
I work on Debian Linux with a 2.6.10 kernel, gcc 3.3.5 and with binutils 2.15. Oracle-Version is 9.2.0.4.0.
I have no idea how to solve the problem
[Updated on: Mon, 28 February 2005 05:47] Report message to a moderator
|
|
|
Re: Oracle 9i Installation [message #109737 is a reply to message #109728] |
Mon, 28 February 2005 08:21 |
Persuader
Messages: 2 Registered: February 2005
|
Junior Member |
|
|
Here the full error-message ($ORACLE_HOME/install/make.log)
/usr/bin/make -f ins_plsql.mk install ORACLE_HOME=/home/oracle/OraHome1
chmod 755 /home/oracle/OraHome1/bin
rm -f wrap
Linking wrap
gcc -o wrap -L/home/oracle/OraHome1/plsql/lib/ -L/home/oracle/OraHome1/lib/ -L/home/oracle/OraHome1/lib/stubs/ /home/oracle/OraHome1/plsql/lib/s0plsw.o
-lpsa9 -lpls9 -lplp9 -lclntsh `cat /home/oracle/OraHome1/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /home/oracle/OraHo
me1/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcor
e9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /home/oracle/OraHome1/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /home/oracl
e/OraHome1/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9
-lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9
-lnls9 `cat /home/oracle/OraHome1/lib/sysliblist` -ldl -lm /home/oracle/OraHome1/lib/libplc9.a -lpls9 -lclient9 -lnl9 -lnro9 -ln9 /home/oracle/OraHo
me1/rdbms/lib/kpudfo.o -lmm -ltrace9 -lgeneric9 -lcommon9 -lslax9 -lcore9 -lunls9 -lsnls9 -lnls9 -lcore9 -lsql9 `cat /home/oracle/OraHome1/lib/sysl
iblist` -Wl,-rpath,/home/oracle/OraHome1/lib:/lib:/usr/lib -lm `cat /home/oracle/OraHome1/lib/sysliblist` -ldl -lm
/usr/lib/gcc-lib/i486-linux/3.3.5/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
collect2: ld returned 1 exit status
make: *** [wrap] Error 1
|
|
|
|
|
|
Re: Oracle 9i Installation [message #120081 is a reply to message #109728] |
Tue, 17 May 2005 13:04 |
CaMiX
Messages: 1 Registered: May 2005
|
Junior Member |
|
|
Persuader, your problem is gcc. You need to make sure you have all the compat libs installed and then link gcc & g++ to version 296.
ex)
mv /usr/bin/gcc /usr/bin/gcc333
mv /usr/bin/g++ /usr/bin/g++333
ln -s /usr/bin/gcc296 /usr/bin/gcc
ln -s /usr/bin/g++296 /usr/bin/g++
if you don't use gcc & g++ version 296 you'll run into the problem you're having.
To get gcc296 make sure you have at least the following packages (if newer packages exist you should be ok) installed:
compat-libstdc++-7.3-2.96.126.i386.rpm
compat-libstdc++-devel-7.3-2.96.126.i386.rpm
compat-db-4.0.14-2.i386.rpm
compat-gcc-7.3-2.96.126.i386.rpm
compat-gcc-c++-7.3-2.96.126.i386.rpm
sysstat-4.0.7-5.i386.rpm
openmotif21-2.1.30-8.i386.rpm
pdksh-5.2.14-23.i386.rpm
This is an older post but I thought I'd post the solution in case anyone else runs into this problem. Hope this helps anyone else that may run into this problem.
|
|
|