This content has been marked as final. Show 17 replies
The Oracle Server software is 64bit? ...it must be same bit-size as underlying OS.
Thanks -- yes.
Looking on the web, these linker errors are a longstanding issue, no doubt a result of a tactical decision to mix compiles of 32 and 64 bit systems. I've tried everything I can think of to track down the cause to no avail. Certainly, of the many suggestions made on Metalink and elsewhere, none seem to work at least in this case.
No doubt the issue is a library not installed or not on the correct path. I just can't seem to find my way to a solution.
my installation is now at the same point ... are there any solutions to this ?
In my installation the libagtsh.so is a link to libagtsh.so.1.0 which is not there...
-rw-r--r-- 1 oracle oinstall 865884 2007-10-04 06:23 libagent11.a
lrwxrwxrwx 1 oracle oinstall 15 2007-10-23 11:00 libagtsh.so -> libagtsh.so.1.0
-rw-r--r-- 1 oracle oinstall 5602642 2007-10-04 06:23 libclient11.a
lrwxrwxrwx 1 oracle oinstall 66 2007-10-23 10:59 libclntsh.so -> /opt/oracle/app/oracle/product/11.1.0/db_1/lib32/libclntsh.so.11.1
lrwxrwxrwx 1 oracle oinstall 61 2007-10-23 11:00 libclntsh.so.10.1 -> /opt/oracle/app/oracle/product/11.1.0/db_1/lib32/libclntsh.so
Maybe that helps ?
In my installation the libagtsh.so is a link toI've got this same issue.
libagtsh.so.1.0 which is not there...
-rw-r--r-- 1 oracle oinstall 865884 2007-10-04
lrwxrwxrwx 1 oracle oinstall 15 2007-10-23
11:00 libagtsh.so -> libagtsh.so.1.0
-rw-r--r-- 1 oracle oinstall 5602642 2007-10-04
lrwxrwxrwx 1 oracle oinstall 66 2007-10-23
10:59 libclntsh.so ->
lrwxrwxrwx 1 oracle oinstall 61 2007-10-23
11:00 libclntsh.so.10.1 ->
Maybe that helps ?
Hi, download the 32bit version of 11g extract the zip file and open the database/stage/Components/oracle.rdbms.util/188.8.131.52.0/1/DataFiles/filegroup14.jar file. Inside you will find the 32bit version of libagtsh.so. Put it in the /opt/oracle/app/oracle/product/11.1.0/db_1/lib32 directory.
I had the exact same problem.
If libagtsh.so.1.0 is missing it seems that the previous linking of client libs has failed.
So I tried a manual rebuld of the client libs: make -f ins_rdbms.mk client_sharedlib
And it failed with an error about it couldnt find -lgcc while it was linking a 32bit part.
So I figured that I needed to install the 32bit compiler too.
I did that and it all worked perfectly!
Hope this will help you
Thanks for that, this has been driving me mad for around a week.
I followed your advice and installed all gcc 32 bit installers and have just completed an error free installation.
I do get 3 package warnings during the check, but ignored these as I think they are 10.0 packages and the 10.3 pacakages have different names.
Excuse my ignorance (I'm new to all this - just tell me to go away :-) ).
Why do we need to generate these 32 bit 'counterparts' if we already
have proper 64 bit executables as well?
On my Ubuntu 7.10 AMD64 system I've been able to link everything by
just stripping all 32 bit references from the make files.
Well, nearly everything. Only ctxhx gives me problems as it only comes
with a 32-bit object file and no 64 bit equivalent (linking therefore failed).
The database (plus tools) seems to run OK though without all these 32-bit
Why could Oracle not have provided a 64-bit object for ctxhx as well?
I 've now managed to get 11g working on Gutsy x86_64. I did it the following way:
When a link fails I looked into ORACLE_HOME/install/make.log and copy the last make to a shell. Then I added -L/usr/lib32 after the gcc -m32. Then clicked on Retry and repeat the procedure for the next error. So I do not loose some 32 bit things that may be important for some functionality.
32bit compiler on ubuntu x86_64? What package is that i don't see anything in synaptic.
I think I have a simpler solution:
assuming your /usr/bin/gcc link to /usr/bin/gcc-4.1, do:
mv /usr/bin/gcc /usr/bin/gcc.orig
create a new /usr/bin/gcc, to be the following script:
if [ "$1" = "-m32" ]; then
gcc-4.1 -L/usr/lib32 $*
When installation completes, remove the scripts and replace it which the original symlink.
It's a hack, but it'll work, saving you the hassle of manually linking oracle libs.
Can you please provide us with the name of the 32 bit compiler packages?
I've installed many 32 bit libs, but it still doesn't work.
I just can't figure them out.
Message was edited by:
I am using ubuntu 64bit, I was having the same problems you guys were having. when i added the 32bit path I find a different probelm.
NFO: gcc -m32 -o /opt/oracle-home/oracle/11.1.0/db_1/rdbms/lib/extproc32 -L/opt/oracle-home/oracle/11.1.0/db_1/rdbms/lib32/ -L/opt/oracle-home/oracle/11.1.0/db_1/lib32/ -L/opt/oracle-home/oracle/11.1.0/db_1/lib32/stubs/ /opt/oracle-home/oracle/11.1.0/db_1/rdbms/lib32/hormc.o /opt/oracle-home/oracle/11.1.0/db_1/rdbms/lib32/homts.o -lagtsh -lpthread -lclntsh `cat /opt/oracle-home/oracle/11.1.0/db_1/lib32/sysliblist` -Wl,-rpath,/opt/oracle-home/oracle/11.1.0/db_1/lib32 -lm `cat /opt/oracle-home/oracle/1
INFO: 1.1.0/db_1/lib32/sysliblist` -ldl -lm -L/opt/oracle-home/oracle/11.1.0/db_1/lib32
INFO: /usr/bin/ld: cannot find -lagtsh
INFO: collect2: ld returned 1 exit status
INFO: make: *** [opt/oracle-home/oracle/11.1.0/db_1/rdbms/lib/extproc32] Error 1
INFO: make: Leaving directory `/opt/oracle-home/oracle/11.1.0/db_1/rdbms/lib'
INFO: make: *** [extproc32] Error 2
INFO: End output from spawned process.
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'all_no_orcl' of makefile '/opt/oracle-home/oracle/11.1.0/db_1/rdbms/lib/ins_rdbms.mk'. See '/u01/app/oraInventory/logs/installActions2008-03-13_05-58-42PM.log' for details.
Exception Severity: 1
Im assuming that agtsh can't be found? if so where can i get it ?