Que tal. Durante estos días he tratado de instalar PostGIS 2.x en máquinas virtuales con FreeBSD 9.3/10.2 sobre PostgreSQL 9.5, tratando de instalar PostGIS 2.0.7 / 2.1.7 desde los ports genera el siguiente error:
<builtin>: recipe for target 'lwgeom_accum.o' failed gmake[2]: *** [lwgeom_accum.o] Error 1 gmake[2]: Leaving directory '/usr/ports/databases/postgis20/work/postgis-2.0.7/postgis' GNUmakefile:14: recipe for target 'all' failed gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory '/usr/ports/databases/postgis20/work/postgis-2.0.7' Makefile:6: recipe for target 'all' failed gmake: *** [all] Error 2 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** [do-build] Error code 1 Tampoco he tenido suerte tratando de instalar PostGIS 2.2 desde los fuentes, en dónde genera el siguiente error: cc: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:103: recipe for target 'shp2pgsql' failed gmake[2]: *** [shp2pgsql] Error 1 gmake[2]: Leaving directory '/root/postgis-2.2.1/loader' GNUmakefile:16: recipe for target 'all' failed gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory '/root/postgis-2.2.1' *** Error code 2 Stop. make: stopped in /root/postgis-2.2.1 Desinstalar PostgreSQL 9.5 y regresar a una versión anterior no funciona. La única forma que funciona la instalación es: Instalando PostgreSQL 9.3 y después instalando postgis desde los ports (cualquier versión). Alguno de ustedes se ha encontrado con este problema?. Gracias de antemano