Update Corrects an Issue Loading libpq.so

PostgreSQLIBM has delivered a fix for an issue with the libpq (PostgreSQL) package. The libpq RPM installer script had a subtle issue where the symbolic links did not get created correctly. IBM i users saw warnings like these:

  • Could not load module libpq.so.5(shr_64.o)
  • System error: No such file or directory PHP Startup: Unable to load dynamic library 'pdo_pgsql' (tried: /QOpenSys/pkgs/lib/php-8.1/extensions/pdo_pgsql( 0509-022 Cannot load module /QOpenSys/pkgs/lib/php-8.1/extensions/pdo_pgsql.

To correct the issue, update postgresql12-libpq using the ACS Open Source Package Manager, or with the command:

yum update postgresql12-libpq

Or a regular yum update.

The version number of the corrected library is 12.17.2 (postgresql12-libpq-12.17-2).

One more potential step: If the warnings occurred in the context of a web server, you may need to restart the web server as well.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.