[postgis-users] postgis 1.0.6 install problem

Maik Trömel maik.troemel at maitro.net
Mon Dec 12 00:05:51 PST 2005

I had the same problem a view days ago. If the changes in ld.so.conf 
didn't work restart your system. After restarting PostGIS worked without 
any problem on my server.


Jeff Herrin wrote:

>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
>postgis-users mailing list
>postgis-users at postgis.refractions.net

More information about the postgis-users mailing list