I’ve been a long time, happy user of MPL, but I’m having some problems building the latest version (0.98.5.3) on the Mac (python 2.6.2).
The bottom line is that when I build, I get the error message:
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libPng.dylib, file is not o
f required architecture for architecture ppc
collect2: ld returned 1 exit status
lipo: can’t open input file: /var/folders/tu/tuLdYMqlEm00c5EVXrMQ+U+++TQ/-Tmp-//
cci4zDq4.out (No such file or directory)
error: command ‘g++’ failed with exit status 1
However, I have a freshly-built version of libpng installed from source in /usr/local/lib. I don’t think MPL is finding it, though, since during config I see:
libpng: found, but unknown version (no pkg-config)
(However, when I install libpng, I do install the pc file, viz:
cd /usr/local/lib/pkgconfig; rm -f libpng.pc
cd /usr/local/lib/pkgconfig; ln -s libpng12.pc libpng.pc)
I’m probably doing something dumb. Is there a workaround to this?
Thanks in advance,