[postgis-users] PostGIS 2 RPM

Devrim GÜNDÜZ devrim at gunduz.org
Thu Oct 18 16:26:13 PDT 2012


Hi,

On Thu, 2012-10-18 at 09:09 -0400, Jeff Lake wrote:
> Entering directory `/postgis-2.0.1/raster/loader'
> /bin/sh ../../libtool --mode=link gcc -g -O2  -fPIC -DPIC  -Wall 
> -Wmissing-prototypes -I../rt_core -I../../liblwgeom
> -I/usr/local/include 
> -I/usr/local/include   raster2pgsql.o ../rt_core/librtcore.a 
> ../rt_core/librtcore.a ../../liblwgeom/liblwgeom.la -L/usr/local/lib 
> -lgdal -L/usr/local/lib -lgeos_c  -lc -lm -o raster2pgsql
> libtool: link: gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes 
> -I../rt_core -I../../liblwgeom -I/usr/local/include
> -I/usr/local/include 
> raster2pgsql.o -o .libs/raster2pgsql ../rt_core/librtcore.a 
> ../../liblwgeom/.libs/liblwgeom.so -L/usr/local/lib 
> /usr/local/lib/libproj.so /usr/local/lib/libgdal.so -L/usr/lib64 
> -L/usr/kerberos/lib64 -L/usr/lib64/mysql -lsqlite3 
> /usr/lib64/libexpat.so -lgif -ljpeg -lpng -lpq -lcurl -lgssapi_krb5 
> -lkrb5 -lk5crypto -lcom_err -lidn -lz -lmysqlclient -lpthread -lrt
> -lssl 
> -lcrypto -ldl /usr/local/lib/libgeos_c.so /usr/local/lib/libgeos.so
> -lc 
> -lm -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/lib64
> /usr/bin/ld: cannot find -lpq

RPM packager is speaking:

IIRC this error does not mean that it is not finding the PostgreSQL
libs, but one of the dependencies are not built with PostgreSQL support
(which I don't remember now).

Please upgrade to RHEL6 -- it will be less painful as compared to trying
to build PostGIS 2.0 with raster support.

Regards,

>  
-- 
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20121019/6b768b7e/attachment.pgp>


More information about the postgis-users mailing list