[GRASSLIST:5927] Re: libtiff.a versus libtiff.dylib (MAC OS X)
David Hal Mahoney
mahoneyd at unbc.ca
Mon Mar 31 10:55:19 EST 2003
On Mon, 31 Mar 2003, Scott Metker wrote:
> I'm currently trying to bring Grass up on Mac OS X 10.2.4 (Jaguar) after I
> used it sucessfully in 10.1.
>
> I was wondering if anyone had any experience with libtiff.dylib and its
> requirements for r.out.tiff (I found some information formerly in a post on
> this list in early February "[GRASSLIST:5442] Re: Newbie tries OS X port"
>
> My problem is that I used the tcl includes from the grass download site (MAC
> OS binaries and install for 5.0pre4). However, the install drops libtiff.a
> into /usr/local/lib. Grass is looking for libtiff.dylib in this directory,
> however (when I invoke r.out.tiff).
>
> When I copy libtiff.a to libtiff.dylib (just a goofy experiment), it finds
> the file, but gives me a "bad checksum / bad magic number" error for the
> file. I'm assuming that items with the dylib extension need to be specially
> built...
>
> Anyone know where I can get a mac version of this file? Help!
>
> Scott Metker
> smetker at hotmail.com
>
>
>
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
You need to compile or install the Mac OS X version of the libtiff
package. The easiest way is to use the Fink package manager
(fink.sourceforge.net) and then link
libtiff.dylib to /usr/local/lib if you are installing precompiled GRASS
binaries, or give the configure script the location of the tiff libraries
and includes if you are compiling GRASS yourself, /sw/lib and /sw/include,
respectively if you are using fink.
--
Dave Mahoney
More information about the grass-user
mailing list