[ELGIS] Building mapserver on CentOS 6
Hatzopoulos, Nikolaos
hatzopou at chapman.edu
Mon Jul 11 18:44:40 EDT 2011
They changed the library to
libpg
/usr/lib64/libpq.so
so you propably need to change the compile option from -lpgport to -lpg
and that should work
--Nikos Hatzopoulos
________________________________________
From: el-bounces at lists.osgeo.org [el-bounces at lists.osgeo.org] on behalf of Hatzopoulos, Nikolaos [hatzopou at chapman.edu]
Sent: Monday, July 11, 2011 1:59 PM
To: Pavel Iacovlev
Cc: el at lists.osgeo.org
Subject: RE: [ELGIS] Building mapserver on CentOS 6
I'll try to inform the centos community about this libraries
/usr/lib/libpgport.a
/usr/lib64/libpgport.a
because .a are static libraries and I don't know what is going on with the shared
--Nikos
________________________________________
From: el-bounces at lists.osgeo.org [el-bounces at lists.osgeo.org] on behalf of Hatzopoulos, Nikolaos [hatzopou at chapman.edu]
Sent: Monday, July 11, 2011 1:36 PM
To: Pavel Iacovlev
Cc: el at lists.osgeo.org
Subject: RE: [ELGIS] Building mapserver on CentOS 6
No I am wrong,
I just made an update in 5.6 but it doesn't pass me to 6 directly
I'll try to figure out how that will happen
--Nikos
________________________________________
From: el-bounces at lists.osgeo.org [el-bounces at lists.osgeo.org] on behalf of Hatzopoulos, Nikolaos [hatzopou at chapman.edu]
Sent: Monday, July 11, 2011 1:31 PM
To: Pavel Iacovlev
Cc: el at lists.osgeo.org
Subject: RE: [ELGIS] Building mapserver on CentOS 6
Are you sure?
I think there are both postgresql and postgresql84
double check it
--Nikos Hatzopoulos
________________________________
From: Pavel Iacovlev [iacovlev.pavel at gmail.com]
Sent: Monday, July 11, 2011 12:07 PM
To: Hatzopoulos, Nikolaos
Cc: el at lists.osgeo.org
Subject: Re: [ELGIS] Building mapserver on CentOS 6
Package postgresql-devel-8.4.7-1.el6_0.1.x86_64 already installed and latest version
and in 6 there are no more postgresql84-* packages because the postgresql-* are already 8.4 version.
On Mon, Jul 11, 2011 at 10:04 PM, Hatzopoulos, Nikolaos <hatzopou at chapman.edu<mailto:hatzopou at chapman.edu>> wrote:
I think you need postgresql84-devel to be installed
not only the -libs
--Nikos
________________________________
From: Pavel Iacovlev [iacovlev.pavel at gmail.com<mailto:iacovlev.pavel at gmail.com>]
Sent: Monday, July 11, 2011 10:30 AM
To: Hatzopoulos, Nikolaos
Cc: el at lists.osgeo.org<mailto:el at lists.osgeo.org>
Subject: Re: [ELGIS] Building mapserver on CentOS 6
Works fine on centos 5.6 for me, does not on centos 6. Locate shows an empty result even after updatedb.
yum reports the following:
Package postgresql-8.4.7-1.el6_0.1.x86_64 already installed and latest version
Package postgresql-libs-8.4.7-1.el6_0.1.x86_64 already installed and latest version
Package postgresql-server-8.4.7-1.el6_0.1.x86_64 already installed and latest version
Not sure whats packages are missing, also "find / | grep pgport" return no results.
On Mon, Jul 11, 2011 at 7:26 PM, Hatzopoulos, Nikolaos <hatzopou at chapman.edu<mailto:hatzopou at chapman.edu><mailto:hatzopou at chapman.edu<mailto:hatzopou at chapman.edu>>> wrote:
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<mailto:el-bounces at lists.osgeo.org><mailto:el-bounces at lists.osgeo.org<mailto:el-bounces at lists.osgeo.org>> [el-bounces at lists.osgeo.org<mailto:el-bounces at lists.osgeo.org><mailto:el-bounces at lists.osgeo.org<mailto:el-bounces at lists.osgeo.org>>] on behalf of Pavel Iacovlev [iacovlev.pavel at gmail.com<mailto:iacovlev.pavel at gmail.com><mailto:iacovlev.pavel at gmail.com<mailto:iacovlev.pavel at gmail.com>>]
Sent: Monday, July 11, 2011 3:33 AM
To: el at lists.osgeo.org<mailto:el at lists.osgeo.org><mailto:el at lists.osgeo.org<mailto: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 ?
_______________________________________________
el mailing list
el at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/el
_______________________________________________
el mailing list
el at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/el
_______________________________________________
el mailing list
el at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/el
More information about the el
mailing list