[GRASSLIST:1843] Re: Mac OS X - new GRASS 5.7cvs binaries

Markus Neteler neteler at itc.it
Thu Nov 20 10:29:38 EST 2003


On Thu, Nov 20, 2003 at 10:05:18AM -0500, Christopher Fonnesbeck wrote:
> I installed this binary (on a machine that has 5.0.2 working fine) and 
> got the following error  on startup:
> 
> dyld: /usr/local/grass57-19_11_2003/etc/lock can't open library: 
> /grass57exp/dist.powerpc-apple-darwin6.8/lib/libgrass_gis.dylib  (No 
> such file or directory, errno = 2)
> /usr/local/grass57-19_11_2003/etc/Init.sh: line 160:  4747 Trace/BPT 
> trap          "$ETC/lock" "$lockfile" $$
> Unable to properly access /Users/chris/.gislock57
> 
> Any ideas?

Yes. We have to catch all HOSTTYPE values a Mac could have.
So far "macintosh" and "powermac" are implemented.

What does
 echo  $HOSTTYPE
print?

For a quick solution edit
/usr/local/grass57-19_11_2003/etc/Init.sh
search for "powermac"  and add your HOSTTYPE there. 
Then it will work.

Reason: Mac OSX uses DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH.
At time your HOSTTYPE is not detected properly in the script.
So please let us know your HOSTTYPE.

Cheers

 Markus
 
> Chris
> 
> On Nov 20, 2003, at 4:41 AM, Markus Neteler wrote:
> 
> > Yesterday I have compiled new GRASS 5.7 binaries for
> > Mac OSX. Now using shared libraries - the download
> > package size is only 8 MB:
> >
> > http://mpa.itc.it/markus/grass57/macosx/
> >
> > Cheers
> >
> > -- 
> > Markus Neteler     <neteler at itc.it>       http://mpa.itc.it
> > ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
> > MPBA - Predictive Models for Biol. & Environ. Data Analysis
> > Via Sommarive, 18        -       38050 Povo (Trento), Italy
> >
> >
> >
> --
> Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
> Georgia Cooperative Fish & Wildlife Research Unit, University of Georgia

-- 
Markus Neteler     <neteler at itc.it>       http://mpa.itc.it
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy




More information about the grass-user mailing list