[postgis-users] error during postgis.sql command

TECHER Jean David davidtecher at yahoo.fr
Tue Aug 10 07:11:55 PDT 2004


> could not load library "/usr/local/pgsql/
> lib/libpostgis.so.0.8": libproj.so.0: cannot open
> shared object file: No such file or directo
> ry

Do

 find / -name libproj.so.0

You should have libproj.so.0 at /usr/local/lib

As root, just do

	echo /usr/local/lib >> /etc/ld.so.conf

Then 
	
	ldconfig

or if it is not example libproj.so.o is at /fooo_fooo

	do 
		echo /fooo_fooo >> /etc/ld.so.conf
	then  ldconfig



Then drop your db

	drop yourdb
	createdb ....
	createlang ....
	psql -d ....




More information about the postgis-users mailing list