Windows postgresql backup failing with error "Failed to load the PostgreSQL library: 126"
- 10 months ago
was it ever worked or its new configuraiton?
can you refer below mainly where it says about creating the symbolic link?
https://www.veritas.com/support/en_US/doc/129277259-129955710-0/v129277288-129955710
The nbpgsql backup fails with the following error:
"Failed to load PostgreSQL Library"
You may encounter this problem when the
nbpgsql.conf
file is not updated with the following:-
PostgreSQLlibrary file location.
-
The PGSQL_LIB_INSTALL_PATH does not point to
libpq.so
.
Verify the following and then run the backup again:
-
Add or update the PostgreSQL library file location in the
nbpgsql.conf
file.For more information, See The nbpgsql.conf configuration file.
-
Ensure that the PGSQL_LIB_INSTALL_PATHis set to the correct path. It should point to
libpg.so.<n>
, wheren
is the PostgreSQL library version. -
Create a symbolic link
libpq.so
that points to thelibpq.so.<n>
, where<n>
is the PostgreSQL library version.
-