Skip to content

Instantly share code, notes, and snippets.

@tannerhodges
Created November 20, 2015 14:32
Show Gist options
  • Save tannerhodges/3de7cc817db7f65c485f to your computer and use it in GitHub Desktop.
Save tannerhodges/3de7cc817db7f65c485f to your computer and use it in GitHub Desktop.
spatialite-gui failed to build
> brew install libspatialite spatialite-tools spatialite-gui
Warning: libspatialite-4.3.0a already installed
==> Installing dependencies for spatialite-tools: readosm
==> Installing spatialite-tools dependency: readosm
==> Downloading https://www.gaia-gis.it/gaia-sins/readosm-1.0.0e.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/readosm/1.0.0e
==> make install
๐Ÿบ /usr/local/Cellar/readosm/1.0.0e: 26 files, 308K, built in 25 seconds
==> Installing spatialite-tools
==> Downloading https://homebrew.bintray.com/bottles/spatialite-tools-4.3.0.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring spatialite-tools-4.3.0.el_capitan.bottle.tar.gz
๐Ÿบ /usr/local/Cellar/spatialite-tools/4.3.0: 23 files, 888K
==> Installing dependencies for spatialite-gui: libtiff, lzlib, libgeotiff, fontconfig, pixman, libffi, glib, cairo, libgai
==> Installing spatialite-gui dependency: libtiff
==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.0.6.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libtiff-4.0.6.el_capitan.bottle.tar.gz
๐Ÿบ /usr/local/Cellar/libtiff/4.0.6: 259 files, 3.9M
==> Installing spatialite-gui dependency: lzlib
==> Downloading https://homebrew.bintray.com/bottles/lzlib-1.7.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring lzlib-1.7.el_capitan.bottle.tar.gz
๐Ÿบ /usr/local/Cellar/lzlib/1.7: 9 files, 152K
==> Installing spatialite-gui dependency: libgeotiff
==> Downloading https://homebrew.bintray.com/bottles/libgeotiff-1.4.1_1.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libgeotiff-1.4.1_1.el_capitan.bottle.tar.gz
๐Ÿบ /usr/local/Cellar/libgeotiff/1.4.1_1: 72 files, 6.6M
==> Installing spatialite-gui dependency: fontconfig
==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.11.1.el_capitan.bottle.4.tar.gz
######################################################################## 100.0%
==> Pouring fontconfig-2.11.1.el_capitan.bottle.4.tar.gz
==> /usr/local/Cellar/fontconfig/2.11.1/bin/fc-cache -frv
๐Ÿบ /usr/local/Cellar/fontconfig/2.11.1: 449 files, 3.9M
==> Installing spatialite-gui dependency: pixman
==> Downloading https://homebrew.bintray.com/bottles/pixman-0.32.8.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pixman-0.32.8.el_capitan.bottle.tar.gz
๐Ÿบ /usr/local/Cellar/pixman/0.32.8: 11 files, 1.2M
==> Installing spatialite-gui dependency: libffi
==> Downloading https://homebrew.bintray.com/bottles/libffi-3.0.13.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libffi-3.0.13.el_capitan.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Some formulae require a newer version of libffi.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/libffi/lib
==> Summary
๐Ÿบ /usr/local/Cellar/libffi/3.0.13: 14 files, 408K
==> Installing spatialite-gui dependency: glib
==> Downloading https://homebrew.bintray.com/bottles/glib-2.46.2.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring glib-2.46.2.el_capitan.bottle.tar.gz
๐Ÿบ /usr/local/Cellar/glib/2.46.2: 421 files, 23M
==> Installing spatialite-gui dependency: cairo
==> Downloading https://homebrew.bintray.com/bottles/cairo-1.14.4.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring cairo-1.14.4.el_capitan.bottle.tar.gz
๐Ÿบ /usr/local/Cellar/cairo/1.14.4: 112 files, 6.1M
==> Installing spatialite-gui dependency: libgaiagraphics
==> Downloading https://www.gaia-gis.it/gaia-sins/gaiagraphics-sources/libgaiagraphics-0.5.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libgaiagraphics/0.5_1
==> make install
๐Ÿบ /usr/local/Cellar/libgaiagraphics/0.5_1: 10 files, 668K, built in 19 seconds
==> Installing spatialite-gui dependency: wxmac
==> Downloading https://homebrew.bintray.com/bottles/wxmac-3.0.2.el_capitan.bottle.11.tar.gz
######################################################################## 100.0%
==> Pouring wxmac-3.0.2.el_capitan.bottle.11.tar.gz
๐Ÿบ /usr/local/Cellar/wxmac/3.0.2: 777 files, 41M
==> Installing spatialite-gui
==> Downloading https://www.gaia-gis.it/gaia-sins/spatialite-gui-sources/spatialite_gui-1.7.1.tar.gz
######################################################################## 100.0%
==> Patching
patching file Main.cpp
Hunk #1 succeeded at 79 (offset 8 lines).
Hunk #2 succeeded at 100 (offset 8 lines).
==> ./configure --prefix=/usr/local/Cellar/spatialite-gui/1.7.1_1
==> make install
Last 15 lines from /Users/tannerhodges/Library/Logs/Homebrew/spatialite-gui/02.make:
BlobExplorerDialog::UpdateGeoJSONPage() in BlobExplorer.o
BlobExplorerDialog::UpdateWKTPage() in BlobExplorer.o
BlobExplorerDialog::UpdateEWKTPage() in BlobExplorer.o
StatsChartDialog::PrepareDataByInterval(int) in DialogsGraph.o
...
"_sqlite3_stmt_status", referenced from:
SqlProgressCallback(void*) in ResultSetView.o
"_sqlite3_total_changes", referenced from:
MyFrame::OnTimerAutoSave(wxTimerEvent&) in Main.o
MyFrame::LastDitchMemoryDbSave() in Main.o
MyFrame::MemoryDbSave() in Main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [spatialite_gui] Error 1
make: *** [install-recursive] Error 1
couldn't understand kern.osversion `15.0.0'
READ THIS: https://git.io/brew-troubleshooting
These open issues may also help:
spatialite-gui failed to build on 10.11 https://github.com/Homebrew/homebrew/issues/44003
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment