[postgis-users] postgis 1.0.6 install problem

Hernán De Angelis hernan.deangelis at glocalnet.net
Sun Dec 11 01:50:37 PST 2005


I think it is not the path but the library path. Add /usr/local/pgsql/lib 
to /etc/ld.so.conf and run ldconfig.

El Domingo 11 Diciembre 2005 02.12, Jeff Herrin escribió:
> I am trying to install postgis 1.06 with postgres 8.1.0 from the contrib
> folder. I keep getting this error when compiling. I have verified that the
> .usr/local/pgsql/;ib folder is accessable in the system path. Any
> assistance would be greatly appreciated.
>
> gsql2shp.o
> -L/src/postgres/postgresql-8.1.0/contrib/postgis-1.0.6/../../src/interfaces
>/libpq -lpq
> -L/src/postgres/postgresql-8.1.0/contrib/postgis-1.0.6/../../src/port -l
> stdc++  -Wl,-rpath,/usr/local/pgsql/lib -o pgsql2shp
> /usr/bin/ld: cannot find -lpq
> collect2: ld returned 1 exit status
> make[1]: *** [pgsql2shp] Error 1
> make[1]: Leaving directory
> `/src/postgres/postgresql-8.1.0/contrib/postgis-1.0.6/loader' make: ***
> [loaderdumper] Error 2
>
>
> altimage
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

-- 

Hernán De Angelis
hernan.deangelis at glocalnet.net



More information about the postgis-users mailing list