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

Jaime Carrera jaicarrerahdez at yahoo.com
Thu Jan 19 14:23:11 EST 2006


Kenneth,
 
 I'm flattered by the Dr. Carrera thing, but no Dr. just a student.
 
 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 postgres 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.
 
 Saludos,
 
 Jaime

Kenneth Roy Cabrera Torres <krcabrer at unalmed.edu.co> escribió: Dr Carrera:

Thank you for your help,
but we compile GRASS (and then install) with the option you suggest

./configure --with-gdal=/usr/local/bin/gdal-config

and there is no compile errors,

but we still have this runtime error:

-------------------------------------------------------------------------------------
Welcome to GRASS 6.0.2RC4 (2006)
GRASS homepage:                          http://grass.itc.it/
This version running thru:               Bash Shell (/bin/bash)
Help is available with the command:      g.manual -i
See the licence terms with:              g.version -c
If required, restart the graphical user interface with: d.m &
When ready to quit enter:                exit
GRASS 6.0.2RC4 (etopo2):~ > Error in startup script: ps.map: error while  
loading shared libraries: libgdal.so.1: cannot open shared object file: No  
such file or directory
     while executing
"exec ps.map -p"
     (procedure "DmPrint::init" line 14)
     invoked from within
"DmPrint::init"
     (procedure "main" line 32)
     invoked from within
"main $argc $argv"
     (file "/usr/local/grass-6.0.2RC4/etc/dm/d.m.tcl" line 894)
-------------------------------------------------------------------------------------

We are trying to compile grass in a 64 double dual opteron machine.

In a 32 platform we do not have any problem, and we do the standard steps  
on it.

-- 
Kenneth Roy Cabrera Torres
Universidad Nacional de Colombia
Sede Medellin
Tel 430 9351
Cel 315 504 9339




__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20060119/5b5156ed/attachment.html


More information about the grass-user mailing list