[GRASS5] GRASS5.7: pg.postgisdb path to libgis partially hard-coded
Radim Blazek
blazek at itc.it
Fri Dec 5 05:20:59 EST 2003
On Thursday 04 December 2003 19:05, Moritz Lennert wrote:
> Hello,
>
> Trying to use pg.postgisdb, I realised that part of the path to postgis is
> hard-coded:
>
> when I give the option '-P /usr/lib/postgresql' I get
>
> libpostgis.so.x.x dir: '/usr/lib/postgresql/lib/contrib/
>
> In the pg.postgisdb script this seems to be defined at line 176:
>
> libpostgisdir="$postgis/lib/contrib/"
>
> However, I have the postgis library installed directly in
> /usr/lib/postgresql/lib/ without a contrib directory. In order to use the
> module, I had to create a directory contrib and symlink from that
> directory back to the library file.
>
> Is there any reason to suppose the existance of any specific directories ?
I have (Postgres 7.1.3):
....../pgsql/lib/contrib/libpostgis.so.0.6
maybe the place has changed. I think that pg.postgisdb has potentialy
more problems, and it doesn't do anything GRASS specific except
'--sheep' option. Shall I remove it?
Radim
More information about the grass-dev
mailing list