[GRASS-dev] re: python grass problems on OSX (Incompatible library version for module)

Markus Neteler neteler at osgeo.org
Mon May 11 04:42:41 EDT 2009


On Mon, May 11, 2009 at 10:40 AM, massimo di stefano
<massimodisasha at yahoo.it> wrote:
>
> adding the debugging symbols to the script :

(well, it's just stepwise output - symbols is for binaries)

>
> GRASS 7.0.svn (spearfish60):~ > i.img2rr image1=geology
> + '[' -z /usr/local/grass-7.0.svn ']'
> + '[' image1=geology '!=' @ARGS_PARSED@ ']'
> + exec g.parser /usr/local/grass-7.0.svn/scripts/i.img2rr image1=geology
> + '[' -z /usr/local/grass-7.0.svn ']'
> + '[' @ARGS_PARSED@ '!=' @ARGS_PARSED@ ']'
> ++ g.gisenv
> + eval 'GISDBASE='\''/Users/Shared/grassdata'\'';'
> 'LOCATION_NAME='\''spearfish60'\'';' 'MAPSET='\''PERMANENT'\'';'
> 'GRASS_GUI='\''wxpython'\'';'
> ++ GISDBASE=/Users/Shared/grassdata
> ++ LOCATION_NAME=spearfish60
> ++ MAPSET=PERMANENT
> ++ GRASS_GUI=wxpython
> + : /usr/local/grass-7.0.svn /Users/Shared/grassdata spearfish60 PERMANENT
> + LOCATION=/Users/Shared/grassdata/spearfish60/PERMANENT
> + export DYLD_FRAMEWORK_PATH=/var/tmp/XcodeBuilds/Release
> + DYLD_FRAMEWORK_PATH=/var/tmp/XcodeBuilds/Release
> + export OSSIM_PREFS_FILE=/Users/sasha/Desktop/ossim_preference
> + OSSIM_PREFS_FILE=/Users/sasha/Desktop/ossim_preference
> + /private/var/tmp/XcodeBuilds/Release/img2rr
> /Users/Shared/grassdata/spearfish60/PERMANENT/cellhd/geology
> MPI running with 1 processors...
> ERROR: Incompatible library version for module. You need to rebuild GRASS
>       or untangle multiple installations.

ok, so the "bad" is in the /private/var/tmp/XcodeBuilds/Release/img2rr program.


otool -L  /private/var/tmp/XcodeBuilds/Release/img2rr

?

Please compare to this output from otool on g.parser:

> /usr/local/grass-7.0.svn/bin/g.parser:
>        /usr/local/grass-7.0.svn/lib/libgrass_gis.dylib (compatibility
> version 7.0.0, current version 7.0.0)
>        /usr/local/grass-7.0.svn/lib/libgrass_datetime.dylib (compatibility
> version 7.0.0, current version 7.0.0)
>        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version
> 1.2.3)
>        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
> version 1.0.0)
>        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 111.1.3)

curious if they match...

Markus


More information about the grass-dev mailing list