On Thu, Feb 16, 2012 at 5:13 PM, Dan Dittmann <span dir="ltr"><<a href="mailto:qgis@dandittmann.org">qgis@dandittmann.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have been attempting to build theversion 1.9 of QGIS for Mac OS 10.7.3 and have been unable to complete the compile.<br>
<br>
I suspect the problem likely is an architecture setting which I am overlooking. Based on the errors pasted below, is it an architecture setting or something else? The output from cmake appears to imply everything is ok dependency wise. The log from cmake is at the bottom.<br>
<br>
<br>
I am attempting the build with a mix of William Kyngesburye's libraries and MacPorts Libraries. Below I have included what I am using for cmake and the build.<br></blockquote><div><br></div><div>..snip..</div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Linking CXX shared module ../../../PlugIns/qgis/libogrprovider.so<br>
Undefined symbols for architecture x86_64:<br>
"_OGR_L_SetIgnoredFields", referenced from:<br>
QgsOgrProvider::setRelevantFields(bool, QList<int> const&)in qgsogrprovider.cpp.o<br>
"_OGR_L_DeleteField", referenced from:<br>
QgsOgrProvider::deleteAttributes(QSet<int> const&)in qgsogrprovider.cpp.o<br>
ld: symbol(s) not found for architecture x86_64<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [PlugIns/qgis/libogrprovider.so] Error 1<br>
make[1]: *** [src/providers/ogr/CMakeFiles/ogrprovider.dir/all] Error 2<br>
make[1]: *** Waiting for unfinished jobs....<br></blockquote><div><br></div><div>..snip..</div><div><br></div><div>The _OGR_L_* symbols are part of libgdal. Looks like you have a 32-bit version of GDAL running around that is getting in the way of the build.</div>
<div><br></div><div>-Charlie </div></div>