Code Monkey home page Code Monkey logo

Comments (2)

dakcarto avatar dakcarto commented on June 15, 2024

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.

Sucu avatar Sucu commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.