[Xastir] Xastir Load Problems (Mac OS X 10.7.4)
Chip G.
n1mie at mac.com
Mon Aug 27 18:50:02 EDT 2012
Long response Tom, I'll see what I can do.
On Aug 25, 2012, at 16:51, Tom Russo wrote:
>> 1. I see in the config.log that it's repeatedly checking for db versions. I have version 5.3 installed, does it check that high?
>
> No. It only checks 4.x versions. I'm not at all sure that Would it harm things if I had 5.3 installed but also a 4.x version that matched Xastir?
>
> Depends on how they get installed. If they install to different prefixes,
> should be fine. On my system I have 4.1 and 4.2 installed, and each installs
> to a different place, e.g. /usr/local/include/db41 and /usr/local/include/db42.
> If you do it that way, yes, you can have multiple versions. All a matter of
> how your system packages stuff.
I'm attempting to install 4.8 now to see how that goes.
>>> ld: library not found for -lcrt1.10.6.o
>
> This is the real problem, and I have no suggestion for the solution.
Between your response and Jeremy's I did a 'locate'. I find the following files which match "crt1" in an SDK folder (there are actually more but they are within the Xcode.app folders.
> /Developer/SDKs/MacOSX10.6.sdk/usr/lib/crt1.10.5.o
> /Developer/SDKs/MacOSX10.6.sdk/usr/lib/crt1.10.6.o
> /Developer/SDKs/MacOSX10.6.sdk/usr/lib/crt1.o
> /Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcrt1.o
> /Developer/SDKs/MacOSX10.7.sdk/usr/lib/crt1.10.5.o
> /Developer/SDKs/MacOSX10.7.sdk/usr/lib/crt1.10.6.o
> /Developer/SDKs/MacOSX10.7.sdk/usr/lib/crt1.o
> /Developer/SDKs/MacOSX10.7.sdk/usr/lib/gcrt1.o
What would it take to have it also look here for these? Is this something done by our code or someone else's?
> How did you install GraphicsMagick? MacPorts? Fink?
I use Fink for almost anything that it can do and manual for everything else. I can check my notes on other things, but GM was definitely done with Fink.
> The configure script is just a shell script, it is generated by autoconf
> from "configure.ac." Config.log is the output of every command that configure
> runs. The path to the answer is in there: the output shows that what
> is failing is that when it tries to link a small test program (to test if
> WriteImage exists in libGraphicsMagick), it fails to link because it can't
> find a library "crt1.10.6.o". Your path forward will involve trying to find
> what library is forcing the loader to look for that.
So it seems like if I change the path it's looking for (per Jeremy's email) to the path listed above I should be able to get this to work.
> On Linux, there's a program called "ldd" that shows you the library dependencies
> of a shared library, so you would use
> ldd /usr/local/lib/libGraphicsMagick.so
> and it would show you what libraries must exist, and whether they do. I am
> not sure what the corresponding utility is on OS X, but I'm sure there
> is one --- you'd run that command on the .dylib rather than the .so, but the
> idea should be the same.
I'll look after dinner and get back to you.
--
Chip
More information about the Xastir
mailing list