<html><head><meta http-equiv="content-type" content="text/html; charset=GB2312"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: ΛΞΜε; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span><span style="font-family: ΞΆΘνΡΕΊΪ, Tahoma; line-height: normal;">Dear All,</span></div><div><span style="font-family: ΞΆΘνΡΕΊΪ, Tahoma; line-height: normal;"><br></span></div><div><span style="font-family: ΞΆΘνΡΕΊΪ, Tahoma; line-height: normal;">I'm trying to create postgis extension with version2.5.2,and then the following error occured.</span></div><div><span style="font-family: "" ΞΆΘνΡΕΊΪ,="" tahoma'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(199,="" 237,="" 204);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">app_db=# create extension postgis;<br>ERROR:  could not load library "/usr/pgsql-10/lib/rtpostgis-2.5.so": /usr/gdal23/lib/libgdal.so.20: undefined symbol: ecs_SetReportErrorFunction<br>app_db=# </span></div><div><br></div><div>I've installed the following rpm from site:<a href="https://yum.postgresql.org/10/redhat/rhel-7.3-x86_64/" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">https://yum.postgresql.org/10/redhat/rhel-7.3-x86_64/</a><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span></div><div>proj52-5.2.0-1.rhel7.x86_64.rpm<br>gdal23-libs-2.3.2-7.rhel7.x86_64.rpm<br>gdal23-2.3.2-7.rhel7.x86_64.rpm<br>gdal23-debuginfo-2.3.2-7.rhel7.x86_64.rpm<br>postgis25_10-2.5.2-3.rhel7.x86_64.rpm<br>postgis25_10-debuginfo-2.5.2-3.rhel7.x86_64.rpm<br>postgis25_10-devel-2.5.2-3.rhel7.x86_64.rpm<br>postgis25_10-client-2.5.2-3.rhel7.x86_64.rpm</div><div><br></div><div>I took the strace when the error occured<<span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">strace_create_extesion_postgis2.5.2.log</span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">></span></div><div><br></div><div><span style="font-family: ΞΆΘνΡΕΊΪ, Tahoma; line-height: normal;">My Environment:</span><br style="font-family: ΞΆΘνΡΕΊΪ, Tahoma; line-height: normal;"><span style="font-family: ΞΆΘνΡΕΊΪ, Tahoma; line-height: normal;">Postgres Version: PostgreSQL 10.7 </span><span style="font-family: ΞΆΘνΡΕΊΪ, Tahoma; line-height: normal;">64-bit</span></div><div><font face="ΞΆΘνΡΕΊΪ, Tahoma"><span style="line-height: normal;">Platform Version:</span></font><span style="font-family: 'ΞΆΘνΡΕΊΪ, Tahoma'; font-size: 10.5pt; line-height: 1.5; background-color: window;">CentOS Linux release 7.3.1611 (Core)</span></div><div><br></div><div>PS:When I use 2.5.1 with the following rpm, the extension can be successfully created.</div><div>proj-4.8.0-4.el7.x86_64.rpm<br>gdal-libs-1.11.4-12.rhel7.x86_64.rpm<br>gdal-1.11.4-12.rhel7.x86_64.rpm<br>gdal-debuginfo-1.11.4-12.rhel7.x86_64.rpm<br>postgis25_10-2.5.1-1.rhel7.x86_64.rpm<br>postgis25_10-debuginfo-2.5.1-1.rhel7.x86_64.rpm<br>postgis25_10-devel-2.5.1-1.rhel7.x86_64.rpm<br>postgis25_10-client-2.5.1-1.rhel7.x86_64.rpm</div>
<div><br></div><div><span style="font-family: ΞΆΘνΡΕΊΪ, Tahoma; line-height: normal;">I am looking forward for your reply.</span><br style="font-family: ΞΆΘνΡΕΊΪ, Tahoma; line-height: normal;"><span style="font-family: ΞΆΘνΡΕΊΪ, Tahoma; line-height: normal;"> </span><br style="font-family: ΞΆΘνΡΕΊΪ, Tahoma; line-height: normal;"><span style="font-family: ΞΆΘνΡΕΊΪ, Tahoma; line-height: normal;">Best Regards,</span><br style="font-family: ΞΆΘνΡΕΊΪ, Tahoma; line-height: normal;"><span style="font-family: ΞΆΘνΡΕΊΪ, Tahoma; line-height: normal;">LIANGBO</span></div><div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><font size="3"><span style="line-height: normal;">LIANGBO</span></font></div>
</body></html>