On Thu, Nov 23, 2017 at 10:58:32PM -0600, Nahum Castro wrote: > I have an odd error while compiling the last postgis versions [...] > /usr/bin/ld: cannot find -lpq Did you install libpq-dev ? If so, where is it ? Does any previous version of PostGIS build for you ? --strk;