Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

11g install on Suse and libstdc++.so.5 vs. so.6

831081Jan 13 2011 — edited Jan 17 2011
To resolve the dependency of having libstdc++.so.5 (which I don't have), I simply created a symbolic link to point it to libstdc++.so.6 (which I do have). So `sudo ln -s libstdc++.so.6 libstdc++.so.5`. I seem to have the libstdc++.so.6 library both in /usr/lib and in /usr/lib64, so I did it in both places, pointing the link to each .so.6 file respectively. (Each `libstdc++.so.6` is also a symbolic link to `libstdc++.so.6.0.14`). I thought this would resolve my problem, however I appear to be mistaken. During the install I get the error noted in the log excerpt below. Doing a google search on GLIBCPP_3.2 made it clear quickly that it could not link things as needed to the libraries in libstdc++.


Is there a significant difference between the .so.5 and .so.6 that messes with things? I also seem to have the libstdc++.so.2.9.0 installed under /usr/lib (not there under /usr/lib64). It seems unlikely to me that that would be messing with something, but possible I guess. Can anyone provide me some helpful insights?

Let me know if I need to add further information here. Much thanks in advance!

installActions.....log shows:
===========================
INFO: chmod 751 /home/oracle/app/oracle/product/11.2.0/dbhome_1/bin/ctxlc

INFO: gcc -o ctxhx -m64 -L/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ -L/home/oracle/app/oracle/product/11.2.0/dbhome_1/lib/ -L/home/oracle/app/oracle/product/11.2.0/dbhome_1/lib/stubs/ /home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ctxhx.o -L/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ -lm -lsc_fa -lsc_ex -lsc_da -lsc_ca -lz -lctxhx -Wl,-rpath,/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -
INFO: lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat /home/oracle/app/oracle/product/11.2.0/dbhome_1/lib/sysliblist`

INFO: /home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/libwv_core.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.2'
/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib//libsc_fa.so: undefined reference to `__gxx_personality_v0@CXXABI_1.2'
/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/libwv_core.so: undefined reference to `
INFO: vtable for __cxxabiv1::__class_type_info@GLIBCPP_3.2'
/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/libwv_core.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@GLIBCPP_3.2'
/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/libwv_core.so: undefined reference to `std::ios_base::Init::Init()@GLIBCPP_3.2'
/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/libwv_core.so: undefined reference to `std::ios_base::Init::~Init()@GLIBCPP_3.2'
/home/oracle/app/oracle/product/1
INFO: 1.2.0/dbhome_1/ctx/lib/libwv_core.so: undefined reference to `operator delete(void*)@GLIBCPP_3.2'
collect2: ld returned 1 exit status

INFO: make: *** [ctxhx] Error 1

INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'install' of makefile '/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ins_ctx.mk'. See '/home/oracle/app/oraInventory/logs/installActions2011-01-13_12-09-03PM.log' for details.
Exception Severity: 1
========================================
This post has been answered by Srini Chavali-Oracle on Jan 14 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 14 2011
Added on Jan 13 2011
5 comments
5,676 views