I am installing PostgreSQL12.4 on a CentOS8 system by using the libs, PGDG, server and devel rpm's and getting the following warning:

ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/postgresql-pgdg-libs.conf: No such file or directory

The DB gets installed and I am able to do initdb successfully.

Can someone please tell me how to get rid of this warning? Also want to know if this warning will create any issues to the DB going forward?

Updating my post.. Adding the install commands:

rpm -Uvh --force --nodeps --badreloc --relocate /usr/pgsql-12=/opt/postgresql postgresql12-libs-12.4-1PGDG.rhel8.x86_64.rpm
rpm -Uvh --force --nodeps --badreloc --relocate /usr/pgsql-12=/opt/postgresql postgresql12-12.4-1PGDG.rhel8.x86_64.rpm
rpm -Uvh --force --nodeps --badreloc --relocate /usr/pgsql-12=/opt/postgresql postgresql12-server-12.4-1PGDG.rhel8.x86_64.rpm
rpm -Uvh --force --nodeps --badreloc --relocate /usr/pgsql-12=/opt/postgresql postgresql12-devel-12.4-1PGDG.rhel8.x86_64.rpm

FYI.. If I do not add --relocate /usr/pgsql-12=/opt/postgresql I do not see the warning.

Same installs on CentOS7 systems work with no warning..

Thanks

0

There are 0 best solutions below