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!

Install 11.2.0.4 on Oracle linux 8.6 ( failed at link with error __stack_chk_fail@GLIBC_2.4 )

User_GSQTYAug 17 2022 — edited Aug 17 2022

I've attempted to install Oracle database 11.2.0.4 on Oracle linux 8.6 ( goal is to switch over 11.2.0.4 on Oracle linux 5 to 11.2.0.4 on Oracle linux 8 and then upgrade to 19c later on ).
According to oracle support 11.2.0.4 is certified on Oracle linux 8.2 and up with appropriate kernel ( which is my case )
I had oracle-rdbms-server-11gR2-preinstall, oracle-database-server-12cR2-preinstall ( will be install oracle 12 as well later on ) and oracle-database-preinstall-19c installed for pre-requiste packages.
The installation failed at link phase with the following error :

INFO: Linking /u05/app/oracle/product/11.2.0/db01/precomp/lib/proc
INFO: //usr/lib64/libaio.so.1: undefined reference to `__stack_chk_fail@GLIBC_2.4'
INFO: collect2: error: ld returned 1 exit status

I looked in metalink and it points to Doc ID 1220843.1 . On my VM I have only 1 version of g++ and gcc. So this article is not usefull for me.
I've seen another article on the net https://blogs.dbcloudsvc.com/oracle/install-oracle-11gr2-on-rhel8/ referring to install 11.2.0.4 on Red Hat 8 ( not exactly the same but very closed ). This seems more intresting since it points to library libaio which is closed to my error. I have not tried yet since I don't know how to downgrade this library from Oracle Linux 8 to to Oralcle Linux 7 yet.
My questions :
Has anyone got into this situation and found a workaround ?
Has anyone successfully installed oracle 11.2.0.4 on oracle linux 8 ( 8.2 and up ) ?
Thanks

Comments
Post Details
Added on Aug 17 2022
2 comments
3,922 views