Sunday, January 20, 2008

Recreating of the OCCI libraries (genoccish) fails

Recreating of the OCCI libraries (genoccish) fails with errors similar to:cp: cannot stat `/DISCARD/': No such file or directory
cp: cannot stat `/DISCARD/': No such file or directory
/usr/bin/ld: Warning: size of symbol `std::basic_string >::~basic_string()' changed from 168 in $ORACLE_HOME/lib32/libocci10.a(occiConnectionImpl.o) to 52 in $ORACLE_HOME/lib32/libocci10.a(occiConnectionImpl.o)
/usr/bin/ld: Warning: size of symbol `std::basic_string >::~basic_string()' changed from 52 in $ORACLE_HOME/lib32/libocci10.a(occiConnectionImpl.o) to 168 in $ORACLE_HOME/lib32/libocci10.a(occiConnectionImpl.o)
/usr/bin/ld: Warning: size of symbol `std::basic_string >::~basic_string()' changed from 168 in $ORACLE_HOME/lib32/libocci10.a(occiConnectionImpl.o) to 52 in $ORACLE_HOME/lib32/libocci10.a(occiConnectionImpl.o)
/usr/bin/ld: Warning: size of symbol `std::basic_string >::~basic_string


Workaround: Download and apply the patch for bug 5240469

But this may also not work some times. Most likely cause for this would be a missing RPM.

compat-gcc-32-c++ (x86_64)

Please make sure that ' /usr/bin/g++32' is a 64bit binary. The output should look similar to the following:
%file g++32g++32: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped
If the version is not 64bit,it is required to install the 64bit version of the compat package that contains this file:
%usr/bin> rpm -qf g++32 compat-gcc-32-c++-3.2.3-47.3
To check if this is a 64-bit rpm :-
%/usr/bin> rpm -q --queryformat "%{NAME} %{ARCH} \n" compat-gcc-32-c++
compat-gcc-32-c++ x86_64


metalink notes regarding this problem.

432885.1
379409.1
417319.1
428563.1
429830.1
397344.1