How to properly solve issue with missing libpq.so.postgresql92 shared library

Updated -

When using any binary from Software Collection package (like pg_ctl from postgresql92) user must use scl enable call so propper environment is set. When scl enable is not used, user may see an error like the following:
libpq.so.postgresql92-5: cannot open shared object file: No such file or directory

Some of the previous versions of postgresq...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.