Comments (2)
Hi,
From your brew doctor
output, it looks like "You should install the Command Line Tools."
As for the error, it is:
Linking CXX shared library ../../output/lib/libqgispython.dylib
cd /tmp/qgis-22-opjQ/QGIS-final-2_2_0/build/src/python && /usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_link_script CMakeFiles/qgispython.dir/link.txt --verbose=1
/usr/local/Library/ENV/4.3/clang++ -F/usr/local/opt/qt/lib -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -dynamiclib -Wl,-headerpad_max_install_names -Qunused-arguments -F/Library/Frameworks -compatibility_version 2.2.0 -current_version 2.2.0 -o ../../output/lib/libqgispython.2.2.0.dylib -install_name /tmp/qgis-22-opjQ/QGIS-final-2_2_0/build/output/lib/libqgispython.2.2.0.dylib CMakeFiles/qgispython.dir/qgispython.cpp.o CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o -F/usr/local/Cellar/qt/4.8.5/lib -L/tmp/qgis-22-opjQ/QGIS-final-2_2_0/build/src/core -L/tmp/qgis-22-opjQ/QGIS-final-2_2_0/build/src/gui ../../output/lib/qgis_core.framework/Versions/2.2/qgis_core -framework Python -framework CoreFoundation -framework IOKit -framework QtXml -framework QtCore -framework QtGui -framework QtNetwork -framework QtSvg -framework QtWebKit /usr/local/lib/libproj.dylib /usr/local/Cellar/geos/3.4.2/lib/libgeos_c.dylib /usr/local/Cellar/gdal/1.10.1_1/lib/libgdal.dylib /usr/local/lib/libspatialindex.dylib /usr/local/lib/libexpat.dylib /usr/local/opt/sqlite/lib/libsqlite3.dylib /usr/local/lib/libspatialite.dylib
/usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_progress_report /tmp/qgis-22-opjQ/QGIS-final-2_2_0/build/CMakeFiles
ld: framework not found Python
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [output/lib/libqgispython.2.2.0.dylib] Error 1
make[1]: *** [src/python/CMakeFiles/qgispython.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
But, the CMake configure is finding everything appropriately:
-- Found PythonInterp: /usr/bin/python (found version "2.7.5")
-- Found Python executable: /usr/bin/python
-- Found Python version: 2.7.5
-- Found Python library: -framework Python
It is very odd that it can't find the system Python.framework, since -F/Library/Frameworks
is part of the linking command, and prior to -framework Python
.
Please install the XCode Command Line Tools and try again. If that doesn't work, I'm guessing that you have something funky set up in your ~/.bash_profile
that is causing this. Or, do brew update
and try again.
You may want to address the other reported problems noted in output from brew doctor
(probably unrelated to this issue, though).
from homebrew-osgeo4mac.
Hi dakcarto,
thank you very much for checking the logs. You solved my problem.
As you suggested I installed Xcode Command Line Tools and qgis-22 again. The install was seamless and now I have a working qgis-22 app.
Thank you again for your help.
from homebrew-osgeo4mac.
Related Issues (20)
- GDAL 3.1.2 error building with jpeg2000 driver HOT 2
- osgeo-gdal brew install fails HOT 5
- GRASS GIS 7.8.4 released, some mac specific news HOT 3
- Issues installing `insighttoolkit` from source HOT 3
- Missing lib armadillo HOT 10
- Please update to GDAL 3.2.0 HOT 3
- macOS gcc reinstall failure "Type mismatch between actual argument" is linked to osgeo-netcdf HOT 2
- arm64 native bottle HOT 3
- grace no longer working HOT 37
- Brew tap fails due to syntax errors in various osgeo4mac Homebrew formulae HOT 11
- gdal - linked with incorrect libdap - Big Sur HOT 4
- [BigSur][Installation] Install fails on BigSur HOT 26
- Error: Could not get runtime dependencies HOT 2
- Question: How do I join Slack ? HOT 1
- osgeo-libkml.rb emits warning HOT 3
- trouble with labelimg.py starting it shows the error bellow HOT 2
- brew tap not working on macOS 12.2.1 HOT 7
- Status update?
- "Just brew tap osgeo/osgeo4mac and then brew install <formula>. Easy, isn't it?" no it's not
- Osgeo4mac slack requires work domain
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-osgeo4mac.