I've downloaded st_geometry.dll from My Esri and installed PostgreSQL 12.4 along with PostGIS in a Windows Server 2016 Datacenter. The library was copied to lib folder.
All installations was downloaded from My Esri.
I'm getting the following error when I'm trying to create an Enterprise Geodatabase using ArcGIS Pro 2.7.1.
You must copy the latest ST_GEOMETRY library to the PostgreSQL software location. Refer to the ArcGIS help topics for more details.
I check that this is happening with PostgreSQL 11.9 too.
I believe st_geometry.dll available in My Esri doesn't work with ArcGIS Pro 2.7.1. The st_geometry version for PostgreSQL 11/12 is 11.1.0.2555.
Any clues?