Skip to content

Failed to load Pgtcl error while running librarycheck : #429

Answered by sm-shaw
noopur100 asked this question in Q&A
Discussion options

You must be logged in to vote

First thing to verify is whether you are testing MySQL or PostgreSQL? You say mysql files are stored at location '/opt/mysql-8.0.18-linux-glibc2.12-x86_64/lib' but the error is for PostgreSQL?

So the error is libpq.so.5: cannot open shared object file: No such file or directory. libpq is the name of the PostgreSQL library that we need. To resolve this install the PostgreSQL client (also included with the server) and add the lib directory to the LD_LIBRARY_PATH environment variable. There is information on how to do this in the documentation here https://hammerdb.com/docs/ch01s10.html.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@noopur100
Comment options

Answer selected by noopur100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants