[Xastir] Make output on xastir 2.0.1

Tom Russo russo at bogodyn.org
Tue May 15 21:43:20 EDT 2012


On Tue, May 15, 2012 at 08:33:03PM -0500, we recorded a bogon-computron collision of the <jjolin at itol.com> flavor, containing:
> On 05/15/2012 02:42 PM, Tom Russo wrote:
> > On Tue, May 15, 2012 at 02:34:00PM -0500, we recorded a bogon-computron collision of the<jjolin at itol.com>  flavor, containing:
> >>> make[3]: Entering directory `/home/jjolin/src/xastir/src'
> >>> gcc  -g  [...]
> >>> x_spider.o xa_config.o compiledate.o -Lrtree -lrtree  -lXm -lXt -lX11
> >>> -lGraphicsMagick -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng
> >>> -lwmflite -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lm -lgomp
> >>> -lpthread -lltdl -ldb-4.8 -lrt -lXm -lXt -lXp -lXext -lm -lSM -lICE
> >>> -lX11 -lcurl -lshp -lpcre -lproj -ltiff -lgeotiff -lax25
> >>> /usr/local/lib/libgeotiff.a(geotiff_proj4.o): In function
> >>> `GTIFProj4FromLatLong':
> >>> geotiff_proj4.c:(.text+0xf0c): undefined reference to `pj_init'
> >
> > What system are you building on, James?
> >
> > I see you're linking both -lproj and -lgeotiff, and ordinarily pj_init,
> > pj_inv, and pj_free are available in libproj, so this is puzzling.
> >
> > Did you install geotiff and proj from packages, or from source?
> >
> > The only guess I have is that on your system it might be necessary to
> > "ranlib" libproj.a and libgeotiff.a, because on some systems if one doesn't
> > do this then libraries need to be in a particular order --- i.e., since
> > libgeotiff depends on libproj, without ranlib one might need "-lgeotiff -lproj"
> > rather than "-lproj -lgeotiff".  I haven't seen *that* problem in many years,
> > though (it was very common back when the earth was still cooling).
> >
> Ok here's the info.  I am using Mint 12 and I got the packages from 
> apt-get/synaptic.  You lost me on the ranlib thingy.  I assume that 
> ranlib is a command? I will stop here and see what my info brings.

Oy.  No knowledge of Mint here.  Looking at the Linux Mint installation notes
on the Wiki shows no special hints about geotiff, so I can't guess.

Ranlib is a command, yes, you would do "sudo ranlib /usr/lib/libgeotiff.a" or
some such --- but it has been so long since that step was necessary on a Unix
system that I can't believe it's the real solution.

I have no time to try to make a linux Mint virtual machine to test this out, 
so I'm going to have to back off and let someone else comment.

One thing you might try is uninstalling libgeotiff and libproj, and building
both from source instead (instructions on how to do so are all over the Xastir 
wiki, but most recently I saw them under the Fedora 15 installation notes).  
If *that* works, then perhaps the libgeotiff and libproj packages for Mint are
busted.

But I have no other guesses at the moment, and will stop talking lest I give 
you a bum steer.

-- 
Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236        http://kevan.org/brain.cgi?DDTNM
"And, isn't sanity really just a one-trick pony anyway? I mean all you get is
 one trick, rational thinking, but when you're good and crazy, oooh, oooh,
 oooh, the sky is the limit!"  --- The Tick




More information about the Xastir mailing list