Skip to content
This repository has been archived by the owner on May 24, 2019. It is now read-only.

Import error-- image not found #56

Open
Tele-Pet opened this issue Feb 24, 2018 · 0 comments
Open

Import error-- image not found #56

Tele-Pet opened this issue Feb 24, 2018 · 0 comments

Comments

@Tele-Pet
Copy link

Macbook Pro:~ myMacbook$ brew install qgis3-dev --with-3d --no-sandbox
==> Installing qgis3-dev from qgis/qgisdev
==> Cloning https://github.com/qgis/QGIS.git
Updating /Users/myMacbook/Library/Caches/Homebrew/qgis3-dev--git
==> Checking out branch master
==> /usr/local/bin/pip3 install --user future psycopg2 python-dateutil httplib2 pytz six nose2 pygments jinja2 pyyaml requests owslib
==> cmake -G Ninja -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/qgis3-dev/2.99 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIN
==> cmake --build . --target all -- -j 4
Last 15 lines from /Users/myMacbook/Library/Logs/Homebrew/qgis3-dev/03.cmake:
[4647/4668] cd /tmp/qgis3-dev-20180224-29201-1gqx9ok/build/python/plugins/db_manager && /tmp/qgis3-dev-20180224-29201-1gqx9ok/scripts/pyuic-wrapper.sh /usr/local/bin/pyuic5 /tmp/qgis3-dev-20180224-29201-1gqx9ok/build/output/lib /tmp/qgis3-dev-20180224-29201-1gqx9ok/build/output/python /usr/local/bin/python3 /tmp/qgis3-dev-20180224-29201-1gqx9ok/python/plugins/db_manager/ui/DlgAddGeometryColumn.ui -o /tmp/qgis3-dev-20180224-29201-1gqx9ok/build/python/plugins/db_manager/ui_DlgAddGeometryColumn.py
FAILED: python/plugins/db_manager/ui_DlgAddGeometryColumn.py 
cd /tmp/qgis3-dev-20180224-29201-1gqx9ok/build/python/plugins/db_manager && /tmp/qgis3-dev-20180224-29201-1gqx9ok/scripts/pyuic-wrapper.sh /usr/local/bin/pyuic5 /tmp/qgis3-dev-20180224-29201-1gqx9ok/build/output/lib /tmp/qgis3-dev-20180224-29201-1gqx9ok/build/output/python /usr/local/bin/python3 /tmp/qgis3-dev-20180224-29201-1gqx9ok/python/plugins/db_manager/ui/DlgAddGeometryColumn.ui -o /tmp/qgis3-dev-20180224-29201-1gqx9ok/build/python/plugins/db_manager/ui_DlgAddGeometryColumn.py
Traceback (most recent call last):
  File "/tmp/qgis3-dev-20180224-29201-1gqx9ok/scripts/pyuic-wrapper.py", line 26, in <module>
    import qgis.PyQt.uic.pyuic
  File "/tmp/qgis3-dev-20180224-29201-1gqx9ok/build/output/python/qgis/__init__.py", line 72, in <module>
    from qgis.core import QgsFeature, QgsGeometry
  File "/tmp/qgis3-dev-20180224-29201-1gqx9ok/build/output/python/qgis/core/__init__.py", line 34, in <module>
    from qgis._core import *
ImportError: dlopen(/tmp/qgis3-dev-20180224-29201-1gqx9ok/build/output/python/qgis/_core.so, 2): Library not loaded: /usr/local/opt/json-c/lib/libjson-c.2.dylib
  Referenced from: /usr/local/opt/gdal2/lib/libgdal.20.dylib
  Reason: image not found
[4648/4668] cd /tmp/qgis3-dev-20180224-29201-1gqx9ok/build && /usr/local/Cellar/cmake/3.10.2/bin/cmake -P /tmp/qgis3-dev-20180224-29201-1gqx9ok/cmake/QsciAPI.cmake
ninja: build stopped: subcommand failed.

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/qgis/homebrew-qgisdev/issues

These open issues may also help:
Python 3.6.0 upgrade breaks existing qgis3-dev https://github.com/qgis/homebrew-qgisdev/issues/11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant