Found two issues - unspecified version in pkgconfig of gerbv and some incompatibility with optional geos library. Related discussions: - https://github.com/gerbv/gerbv/issues/130 - https://github.com/pcb2gcode/pcb2gcode/issues/626 The attached patch fixes those problems.