[GRASSLIST:9948] Re: Problems when compiling GRASS in an Opteron

Glynn Clements glynn at gclements.plus.com
Sun Jan 22 10:57:27 EST 2006


Jaime Carrera wrote:

>  Here's what I did when compiling GRASS on a 64 bit AMD (assuming that you already compiled gdal)
>  1) Configure grass and install it (as you already did)
>  ./configure --enable-64bit --with-libs=/usr/lib64 --with-gdal=/usr/local/bin/gdal-config --with-proj4 --with-postgres=yes (and so on for ppostgres includes and libs)
>  
>  2) compile again gdal:
>  
>  ./configure --enable-64bit --with-grass=/usr/local/grass-6.0.1 --with-pg=/usr/local/pgsql/bin/pg_config
>  
>  3) run ldconfig as su  (/sbin/ldconfig)
>  
>  It should work by now.

Before running ldconfig, you need to ensure that /usr/local/lib is
listed in /etc/ld.so.conf.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list