[postgis-users] problems installing postgis

Luca luca.penasa at email.it
Wed Dec 7 08:32:06 PST 2005


Randy James ha scritto:

> Do a search for lwpostgis.sql and use the full path to it.

it was the first thing iv done: i tried with: psql -f 
/home/luca/postgresql-7.4-7.4.8/postgresql-7.4.8/contrib/postgis-1.0.5/lwpostgis.sql 
-d licheni
where 
/home/luca/postgresql-7.4-7.4.8/postgresql-7.4.8/contrib/postgis-1.0.5 
is the path to the installation package (the source) where i find the 
files. The output was:

luca at 1[~]$ psql -f 
/home/luca/postgresql-7.4-7.4.8/postgresql-7.4.8/contrib/postgis-1.0.5/lwpostgis.sql 
-d licheni
Password:
BEGIN
psql:/home/luca/postgresql-7.4-7.4.8/postgresql-7.4.8/contrib/postgis-1.0.5/lwpostgis.sql:30: 
NOTICE:  type "histogram2d" is not yet defined
DETAIL:  Creating a shell type definition.
psql:/home/luca/postgresql-7.4-7.4.8/postgresql-7.4.8/contrib/postgis-1.0.5/lwpostgis.sql:30: 
ERROR:  could not access file "$libdir/liblwgeom.so.1.0": No such file 
or directory
psql:/home/luca/postgresql-7.4-7.4.8/postgresql-7.4.8/contrib/postgis-1.0.5/lwpostgis.sql:35: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block
....
....
....
....
psql:/home/luca/postgresql-7.4-7.4.8/postgresql-7.4.8/contrib/postgis-1.0.5/lwpostgis.sql:3020: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block
psql:/home/luca/postgresql-7.4-7.4.8/postgresql-7.4.8/contrib/postgis-1.0.5/lwpostgis.sql:3026: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block
COMMIT


a similar thing happened when i tried to load the spatial_ref_sys.sql file

> Also the database/ has to be replaced with the database name of your 
> database you want to use as your postgis database
>
> */Luca <luca.penasa at email.it>/* wrote:
>
>     i try install postgis following the instructions into the ufficial
>     manual... at the end i tried to do /psql -f lwpostgis.sql - d
>     database/,
>     and it said:
>
>     lwpostgis.sql: No such file or directory
>
>     and /psql -d database -f spatial_ref_sys.sql/ said:
>
>     spatial_ref_sys.sql: No such file or directory
>
>
>     where is wrong? im using a simply mepis debian based distro.
>
>     Thanks
>     luca
>
>
>     --
>     Email.it, the professional e-mail, gratis per te:
>     http://www.email.it/f
>
>     Sponsor:
>     Fai squillare il cellulare con le suonerie più originali
>     Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3114&d=7-12
>     _______________________________________________
>     postgis-users mailing list
>     postgis-users at postgis.refractions.net
>     http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
> Yahoo! DSL 
> <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=37474/*http://promo.yahoo.com/broadband/%20> 
> Something to write home about. Just $16.99/mo. or less 


 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Polizza auto Zuritel: E' talmente Economica che assicureresti TUTTO!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4095&d=7-12



More information about the postgis-users mailing list