I managed to break grass when I built the latest qgis snapshot. I followed the directions in the qgis build on Mac OS X in the qgis wiki to make the symbolic links:
ln -sf /usr/local/grasslib/lib/libgdal.1.7.0.dylib /usr/local/lib/libgdal.1.dylib
ln -sf /usr/local/grasslib/lib/libproj.0.5.0.dylib /usr/local/lib/libproj.0.dylib
However, now when grass starts I get the following error:
GRASS 6.1.cvs (arrowhead_utm):~ > Error in startup script: dyld: Library not
ded: /usr/local/lib/libgdal.1.dylib
Referenced from: /usr/local/grass-6.1.cvs/bin/ps.map
Reason: image not found
Welcome to GRASS 6.1.cvs (2005)
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.1.cvs (arrowhead_utm):~ > Error in startup script: dyld: Library not
ded: /usr/local/lib/libgdal.1.dylib
Referenced from: /usr/local/grass-6.1.cvs/bin/ps.map
Reason: image not found
while executing
“exec ps.map -p”
(procedure “DmPrint::init” line 14)
invoked from within
“DmPrint::init”
(procedure “main” line 34)
invoked from within
“main $argc $argv”
(file “/usr/local/grass-6.1.cvs/etc/dm/d.m.tcl” line 976)
GRASS 6.1.cvs (arrowhead_utm):~ >
I’ve checked and the symbolic link libgdal.1.dylib is in /usr/local/lib (or rather the link):
GRASS 6.1.cvs (arrowhead_utm):~ > ls -l /usr/local/lib/libgdal.*
-rwxr-xr-x 1 root wheel 4180936 May 18 13:54 /usr/local/lib/libgdal.1.6.0.dylib
-rwxr-xr-x 1 root wheel 5629560 Jun 24 17:03 /usr/local/lib/libgdal.1.7.0.dylib
lrwxr-xr-x 1 root wheel 43 Jun 27 14:03 /usr/local/lib/libgdal.1.dylib → /usr/local/grasslib/lib/libgdal.1.7.0.dylib
-rw-r–r-- 1 root wheel 6666348 Jun 24 17:03 /usr/local/lib/libgdal.a
lrwxr-xr-x 1 root wheel 19 Jun 24 17:03 /usr/local/lib/libgdal.dylib → libgdal.1.7.0.dylib
-rwxr-xr-x 1 root wheel 1310 Jun 24 17:03 /usr/local/lib/libgdal.la
GRASS 6.1.cvs (arrowhead_utm):~ >
Is this a known issue?
Thanks,
Kirk