[ELGIS] Building mapserver on CentOS 6

Hatzopoulos, Nikolaos hatzopou at chapman.edu
Mon Jul 11 12:26:18 EDT 2011


see what the command will show:
locate libpgport

if it does not show anything try as root:
updatedb

and again hit the command:
locate libpgport

if the library does not exist you need to install the postgre library somehow

my result are but I am on centos 5.6
locate libpgport
/usr/lib/libpgport.a
/usr/lib64/libpgport.a

--Nikos

________________________________
From: el-bounces at lists.osgeo.org [el-bounces at lists.osgeo.org] on behalf of Pavel Iacovlev [iacovlev.pavel at gmail.com]
Sent: Monday, July 11, 2011 3:33 AM
To: el at lists.osgeo.org
Subject: [ELGIS] Building mapserver on CentOS 6

RHEL 6, CentOS 6, EPEL 6 is out , any ETA/plans on ELGIS 6 ?

Meanwhile trying to build Mapserver 5.6.6 from ELGIS 5 spec on CentOS 6 I get the following error:
/usr/bin/ld: cannot find -lpgport
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1

Searching about the error did not help much, as I understand I am missing pgport library, I checked if postgresql-devel is installed and it is.
Any ideas on the error ?



More information about the el mailing list