[postgis-users] PostGIS 2 RPM

Bborie Park bkpark at ucdavis.edu
Thu Oct 18 19:58:58 PDT 2012


Before you give up, can you run "ldd" on libpq?  Also, what OS and version?

-bborie

On Thu, Oct 18, 2012 at 6:51 PM, Jeff Lake <jeff at michiganwxsystem.com> wrote:
> well I guess I'm stuck at 1.5.5
>
> this server is relied on to much to be taken offline for OS upgrade
>
>
> Jeff Lake
> MichiganWxSystem
> AllisonHouse
> GRLevelXStuff
> On 10/18/2012 19:26, Devrim GÜNDÜZ wrote:
>
> 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,
>
>
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



-- 
Bborie Park
Programmer
Center for Vectorborne Diseases
UC Davis
530-752-8380
bkpark at ucdavis.edu



More information about the postgis-users mailing list