[Qgis-developer] Build plugins for use with Mac binary

Peter Ersts ersts at amnh.org
Thu Jan 22 14:21:56 EST 2009


William Kyngesburye wrote:
> On Jan 21, 2009, at 1:38 PM, Peter Ersts wrote:
>
>> Sorry but it do not work. In order to get this build 
>> (http://www.kyngchaos.com/files/software/unixport/Qgis-1.0.0-1-Leopard.dmg) 
>> to run with this GDAL framework 
>> (http://www.kyngchaos.com/files/software/unixport/GDAL_Framework-1.6.0-4.dmg) 
>> I had to install this postgresql framework 
>> (http://www.kyngchaos.com/files/software/unixport/PostgreSQL-8.3.5-1.dmg). 
>>
>>
>> With out the postgres framework, your version of qgis would not 
>> start, and when started from the command line this is what I got.
>> localhost:MacOS pete$ ./qgis
>> dyld: Library not loaded: /usr/local/pgsql/lib/libpq.5.dylib
>> Referenced from: /Library/Frameworks/GDAL.framework/Versions/1.6/GDAL
>> Reason: image not found
>> Trace/BPT trap
>>
> Hmm, I can't find anything in the GDAL framework or Qgis.app that 
> references /usr/local/pgsql/lib/libpq.5.dylib. libpq should be a 
> relative reference, with @loader_path.
>

pete$ otool -L /Library/Frameworks/GDAL.framework/Versions/1.6/GDAL
/Library/Frameworks/GDAL.framework/Versions/1.6/GDAL:
/Library/Frameworks/GDAL.framework/Versions/1.6/GDAL (compatibility 
version 15.0.0, current version 15.0.0)
/Library/Frameworks/PROJ.framework/Versions/4.6/PROJ (compatibility 
version 6.0.0, current version 6.5.0)
/Library/Frameworks/GEOS.framework/Versions/3/GEOS (compatibility 
version 4.0.0, current version 4.1.0)
/Library/Frameworks/SQLite3.framework/Versions/3/SQLite3 (compatibility 
version 9.0.0, current version 9.6.0)
/usr/lib/libiodbc.2.dylib (compatibility version 4.0.0, current version 
4.10.0)
/usr/lib/libiodbcinst.2.dylib (compatibility version 4.0.0, current 
version 4.10.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 
(compatibility version 1.0.0, current version 18.0.0)
/Library/Frameworks/UnixImageIO.framework/Versions/B/UnixImageIO 
(compatibility version 1.0.0, current version 1.0.26)
/Library/Frameworks/GDAL.framework/Versions/1.6/Libraries/libogdi.dylib 
(compatibility version 0.0.0, current version 0.0.0)
/usr/local/pgsql/lib/libpq.5.dylib (compatibility version 5.0.0, current 
version 5.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 
88.3.10)
/usr/lib/libxml2.2.dylib (compatibility version 9.0.0, current version 
9.16.0)
/usr/lib/libicucore.A.dylib (compatibility version 1.0.0, current 
version 32.0.0)
/usr/lib/libcurl.3.dylib (compatibility version 4.0.0, current version 
4.0.0)
/usr/lib/libssl.0.9.7.dylib (compatibility version 0.9.7, current 
version 0.9.7)
/usr/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.7, current 
version 0.9.7)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 
7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 
1.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 
(compatibility version 150.0.0, current version 368.33.0)

-- 
====================================
Peter J. Ersts, Project Specialist
American Museum of Natural History
Center for Biodiversity and Conservation
Central Park West at 79th Street
New York, New York 10024
Tel: Home Office (518)-632-4745 or NYC Office (212)-496-3488
Web: http://biodiversityinformatics.amnh.org
Web: http://cbc.amnh.org

Quantum GIS Raster Development Team. Visit http://www.qgis.org
to learn more about QGIS, a free and open source desktop GIS

Open Source,
...evolving through community cooperation to change the world bit by bit



More information about the Qgis-developer mailing list