[GRASSLIST:1167] Re: r.mapcalc error

Bill Dickinson Jr wdickins at pop700.gsfc.nasa.gov
Wed Sep 10 09:33:24 EDT 2003


Thanks for the tips, Hamish. ;-)  I've checked my install of readline 
(through Fink) and it is already at 4.3-5.  Unless OS X has it's own, 
earlier version of readline that is superseeding the Fink readline, I 
don't think this is the problem. However, I have downloaded the 
readline 4.4.7 source and may also try using that instead of 4.3-5. 
If that doesn't work, then I will recompile using --with-readline as 
you suggest and see what happens.

Bill

>  > Anybody run across this error?
>>
>>  GRASS 5.0.2 > r.mapcalc
>>  dyld: r.mapcalc version mismatch for library:
>>  /usr/local/lib/libreadline.4.dylib (compatibility version of user:
>>  4.2.0 greater than library's version: 4.0.0)
>>  Trace/BPT trap
>
>
>Some hints & guesses:
>
>".dylib" means it is a Mac OS/X Dynamic Library & thus a OS/X specific
>problem. It seems r.mapcalc was compiled with readline 4.2.0 headers
>while the main system libary for readline on your computer is only 4.0.0.
>
>You might have two versions on you computer, but I'd guess you are
>trying to use binaries compiled on someone elses (more up to date) OS/X
>system.
>
>Binary install:
>Try updating the system's realine libraries (fink?) to 4.2.0.
>
>Source install:
>Try compiling without the --with-readline ./configure option, it 
>isn't critical, I think.
>
>
>
>Hamish
>
>disclaimer: I have no idea.


-- 

Bill Dickinson
GIS Specialist
NASA Goddard Space Flight Center
Environmental & Safety Branch, Code 250
wdickins at pop700.gsfc.nasa.gov




More information about the grass-user mailing list