Failed To Link Libclntshcore.so.19.1

0 views
Skip to first unread message

Lise Henton

unread,
Aug 3, 2024, 3:25:24 PM8/3/24
to grovcamsgraves

This post will document the steps needed to overcome the installation issues one can encounter when installing the latest release of the Oracle Database 12c. Some of the errors encountered look like the ones on 11c, but since there are quite a few more now, I decided to document these for others as a reference.

Note: kernel.shmmax = max possible value, e.g. size of physical memory in bytes. This machine has 8GB, but I want to keep the memory allocation low, so we are specifying 1GB. Adjust the parameter as needed.

This pop-up can appear, and is to be expected since we are not running a supported environment. I choose to ignore this, since I have a running installation of Oracle 11c on this system. One can take the prerequisites of this Oracle version as a guideline of which packages to install.

Enter the location where the database software (aka oracle binaries) need to be installed. I deviate from any form of standard and place it for ease of reference in /oracle and below. Be sure to grant the oracle user ownership en access permissions on this location.
Press Next.

GOP: I owe you a debt of gratitude. thank you so much for this tutorial. I was trying to install 12c on debian, and, as a noob, had no clue about that make error. you pointed me in the right direction to handle the peculiar errors on my setup.

I take a look at this later today, perhaps I can find out something to help. However, taken from your comment regarding launching the netca, it seems the oracle environment is not set correctly. Try setting the settings below, and re-execute the netca again:

I believe the steps are already described. Please clarify where you are stuck, and I will try to make it clear..Although I must say, if you are fresh on Linux, this exercise on installing Oracle on an unsupported OS might be a bridge to far..

Hi, your blog is simply awasome I have completed installation but stuck at dbca it gives me error:
Recovery Manager failed to restore datafiles. Refer logs for details.
could you guide me further.
Thanks

Basically the explanation you have when this error is thrown is the solution..The permissions you have on the oraInventory are not the correct ones granted to the OS user you use when running the install.

lI am trying harder to install though the instructions are given.. ln /usr/lib/x86_64-linux-gnu/libpthread_nonshared.a /usr/lib64/libpthread_nonshared.a is not getting executed it is saying not a directory could you please help me out with this.

Based on the information given, it seems you do not meet the OS requirements of the Oracle Software. Make sure you adjust the OS to the specs as specified by Oracle (and the installer provides these also).

Second: the permissions for the user who is trying to run the install are off.. Make sure you read up on the minimum requirements prior to install for this user. Or just google it, there are countless of examples out there which provide the correct user environment settings..


and nothing else, sorry. But anyway, since I had to perform this operation on 3 laptops, Oracle 12c Enterprise Edition on Ubuntu 14.04s, I made a simple script that will basically do all for you and some more. It can be fetched at


and your installation should work fine upon retry, tested it at least two and a half times on Ubuntu 14.04 laptops. It also installs a boot script so oracle should be started every time you reboot.

I think it is more likely you have downloaded an incomplete or wrong version of the Oracle Software. Please try to re-download this and mind the 64/32 bit versions. As well make sure you have adequate space to store both the installation and the downloaded (uncompressed and compressed) files.

Most of the steps documented are applicable for Ubuntu 14. Read the comments for the one or two libs who also bail out..I have Oracle running both on Ubuntu 12 and 14. And Centos..but that is different story.. ?

Every time I try and run the installer I get the error that it has failed to check for 256 colors, and if I continue the installer fails to load. I have limited linux experience (obviosuly) and have not found a way to get passed this using your tutorial and several others.

Just download the sqldeveloper software from download.oracle.com. Also there is more information on how to connect to the database, but the most simple way is to create a class file, and use this code (untested!):

Hi! This is indeed a quick solution, which I also apply in dedicated VMs, but it is a system wide setting, which some readers might not to be willing to do..there are more ways to reach Rome, as they say!

What confuses me now is, that libclntsh.so.12.1, libclntshcore.so.12.1 and libocrutl12.so which are both contained in dbhome_1/lib// are not contained in /usr/lib64 but the compiler does not complain that it can not find them. Furthermore, why is it no longer necessary to edit the env_rdbms.mk and ins_rdbms.mk? I just linked /usr/lib/x86_64-linux-gnu to /usr/lib64. I did not link the libs from dbhome_1/lib to /usr/lib64.
Can you explain this? I do not have enough knwoledge about those linux stuff ?

good to hear! At the time of creation of this document, not all libs where at the level they are now, so this makes in a way sense..Good to know it gets easier to install this great piece of software!

Thanks a lot. Your tutorial helped me so much.
Now i have Oracle12c work in mi local computer.
I has a problem when a try to connect from other computer, but i fix it change localhost for the ip given by the network, in the listener.ora y el tnsnames.ora
I like yous jokes ?

There is an alternative: do not install SQL Libraries, install Docker instead.
I already have 11.2 and 12.1 libraries installed on my Linux Mint workstation.
What I wanted to do was install 12.2.

Hello everyone,
I had similar linking issue on SLES (SUSE) 12 SP2 while installing oracle 12.1.0.2, because of missing OS packages. After installing below OS packages I did clean deinstall and reinstalled oracle 12c, able to complete without any issues. Hope this help with same configurations.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages