[postgis-users] Postgis & GEOS 3.9

Paul Ramsey pramsey at cleverelephant.ca
Fri Feb 26 10:43:46 PST 2021



> On Feb 26, 2021, at 10:40 AM, Frederic Leclercq <fred.mob79 at gmail.com> wrote:
> 
> Hi all,
> 
> I've installed postgis via apt on ubuntu, and upgraded GEOS to 3.9 manually. How can I force PostGis to use this updated version of GEOS? Do I need to re-install postgis by compiling the source, or is there another (easy) way to achieve this?

Ensure that the install location of your new version comes before the install location of your old version in the linker. See /etc/ld.so.conf and /etc/ld.so.conf.d. Can also set the LD_LIBRARY_PATH env variable in your postgresql startup script to have the location of the new version. You can also just delete the old version entirely, but that's a bit extreme and could make your package manager annoyed.

P

> 
> Thanks in advance,
> Fred.
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users



More information about the postgis-users mailing list