[postgis-users] Error compiling postgis 2.3.5 and 2.4.2
Sandro Santilli
strk at kbt.io
Sat Nov 25 07:45:58 PST 2017
On Fri, Nov 24, 2017 at 03:34:02PM -0600, Nahum Castro wrote:
> 2017-11-24 14:40 GMT-06:00 Sandro Santilli <strk at kbt.io>:
> > On Thu, Nov 23, 2017 at 10:58:32PM -0600, Nahum Castro wrote:
> >
> > > /usr/bin/ld: cannot find -lpq
> >
> > Did you install libpq-dev ? If so, where is it ?
>
> libpq is installed in /usr/local/pgsql/lib
Is /usr/local/pgsql/lib in your /etc/ld.so.conf or
any file in /etc/ld.so.conf.d ?
Is that directory referenced by pg_config ?
pg_config --ldflags
Does build succeed if you run, before make:
ldconfig -v /usr/local/pgsql/lib | libpq
?
--strk;
More information about the postgis-users
mailing list