[Xastir] Libgeotiff & OS X

Curt, WE7U archer at eskimo.com
Wed Aug 25 18:28:36 EDT 2004


On Wed, 25 Aug 2004, Jeff Wigal wrote:

> configure:12637: checking for GTIFNew in -lgeotiff
> configure:12668: gcc -o conftest -g -O2 -pipe -Wall  -I/usr/local/include
> -I/sw/include  -I/usr/X11R6/include -L/usr/local/lib  -L/sw/lib
> -L/usr/X11R6/lib conftest.c -lgeotiff  -lintl -lXm -lXt -lXp -lXext   -lSM
> -lICE -lX11  -lshp -lpcre -lproj >&5
> ld: table of contents for archive: /usr/local/lib/libgeotiff.a is out of
> date; rerun ranlib(1) (can't load from it)

It isn't able to compile a sample application against that library.
I find it interesting that you only have a static version of
libgeotiff, but both a static and dynamic version of the others.
I've never tried to compile with a static version of libgeotiff, and
don't know the intricacies of doing so on MacOSX either.


> My /usr/local/lib directory has the following:
>
> -rwxr-xr-x   1 root  admin   173052 Aug 25 06:41 libgeotiff.a

> -rwxr-xr-x   1 root  admin   747228 Aug 23 21:32 libproj.0.4.1.dylib
> lrwxr-xr-x   1 root  admin       19 Aug 25 06:41 libproj.0.dylib -> libproj.0.4.1.dylib
> -rw-r--r--   1 root  admin  1080960 Aug 23 21:32 libproj.a
> lrwxr-xr-x   1 root  admin       19 Aug 25 06:41 libproj.dylib -> libproj.0.4.1.dylib
> -rwxr-xr-x   1 root  admin      721 Aug 23 21:32 libproj.la

> -r-xr-xr-x   1 root  admin   710044 Aug 23 21:28 libtiff.3.6.1.dylib
> -r--r--r--   1 root  admin   822368 Aug 23 21:28 libtiff.a
> lrwxr-xr-x   1 root  admin       19 Aug 25 06:41 libtiff.dylib -> libtiff.3.6.1.dylib
> lrwxr-xr-x   1 root  admin       13 Aug 25 06:41 libtiff.so -> libtiff.dylib

Anyone running MacOSX that can help him out?

--
Curt, WE7U			         http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list