ERROR
When creating an enterprise geodatabase from ArcGIS Pro, st_geometry files are required in the lib directory of PostgreSQL. If there is a version compatibility between ArcGIS Pro and Enterprise Database (PostgreSQL). when using the tool Create Enterprise Geodatabase, the following errors may occur:
Setup st_geometry library ArcGIS version does not match the expected version in use [Success] st_geometry library release expected: 1.30.4.10, found: 1.30.5.10
or
Setup st_geometry library database version does not match the actual database version in use [Error: incompatible library "/usr/lib/postgresql/14/lib/st_geometry.so": version mismatch
DETAIL: Server is version 14, library is version 13, ::SQLSTATE=XX000
Note: The version numbers indicated in the above errors are subject to change according to the version of software installed.
The error refers to the incorrect st_geometry file placed in lib directory. Each and every version of ArcGIS Pro has its own st_geometry file.
Note: Even if the st_geometry is in higher version, ArcGIS Pro could give the error. ArcGIS Pro required the equivalent version of st_geometry file.
For this issue it is required to install the correct version of the st_geometry files for the ArcGIS Pro version in use. For example, if ArcGIS Pro 3.2 is installed, download the ArcGIS Pro ST_Geometry Libraries (PostgreSQL) from the download page of ArcGIS Pro 3.2 only. Follow these steps:
C:\Program Files\PostgreSQL\<version>\lib (Default location)
Article ID: 000033665
Get help from ArcGIS experts
Download the Esri Support App