Skip to content
Prev 9157 / 29559 Next

can't initiate Grass with initGRASS()

Since this issue was first brought up on this list and then continued on 
grass-stats and grass-dev, I think I should summarize what has been 
found out so far regarding this issue.

As mentioned below, I have grass63 installed on this computer along with 
the grass64svn that I was trying to access via initGRASS() in spgrass6. 
  Apparently, the grass63 libraries were being accessed before the 
grass64svn libraries were found and, hence, the symbol lookup error.

I have found that if I modify initGRASS() to prepend the grass64svn 
directories, rather than append them, to PATH and LD_LIBRARY_PATH, the 
error does not occur.  I don't know if this is the best solution, but it 
works temporarily and at least we know the source of the problem.  See 
here for more details on the source of the problem and the temporary "fix":

http://lists.osgeo.org/pipermail/grass-stats/2010-August/001268.html

Thanks to Roger Bivand, Markus Neteler, and Glynn Clements (in 
chronological order) for sorting this out.


Bill
On 08/28/2010 02:09 PM, William McCoy wrote: