[postgis-users] Installing PostGIS on FreeBSD : trouble with libpq

Dheeraj Chand dheeraj at dheerajchand.com
Thu Oct 27 17:34:02 PDT 2011


Hi, all,

I'm not that great with BSD, but I'm running into this error trying to install from the ports tree. Anyone willing to help?

Dheeraj

*SNIP*

configure: WARNING: could not locate CUnit required for liblwgeom unit tests
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for libiconv_open in -liconv... yes
checking for iconvctl... no
checking for libiconvctl... no
checking for pg_config... /usr/local/bin/pg_config
checking PostgreSQL version... PostgreSQL 8.4.9
checking libpq-fe.h usability... yes
checking libpq-fe.h presence... yes
checking for libpq-fe.h... yes
checking for PQserverVersion in -lpq... no
configure: error: could not find libpq
===>  Script "configure" failed unexpectedly.
Please report the problem to anderson at cnpm.embrapa.br [maintainer] and attach
the "/usr/ports/databases/postgis/work/postgis-1.5.3/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/databases/postgis.
*** Error code 1

Stop in /usr/ports/databases/postgis.
dirty:/usr/ports/databases/postgis# whereis libpq
libpq:
dirty:/usr/ports/databases/postgis# make clean
===>  Cleaning for postgis-1.5.3
dirty:/usr/ports/databases/postgis# make deinstall
===>  Deinstalling for databases/postgis
===>   postgis not installed, skipping
dirty:/usr/ports/databases/postgis# whereis libpq
libpq:
dirty:/usr/ports/databases/postgis# find / -name libpq
/usr/local/include/libpq
/usr/local/include/postgresql/internal/libpq
/usr/local/include/postgresql/server/libpq
/usr/home/naveenm/postgresql-8.4.4/src/backend/libpq
/usr/home/naveenm/postgresql-8.4.4/src/include/libpq
/usr/home/naveenm/postgresql-8.4.4/src/interfaces/libpq
dirty:/usr/ports/databases/postgis# 





More information about the postgis-users mailing list