Sunday, 15 May 2011

osx - Install Spatialite on OS X Yosemite -


I have a problem installing the Spatial Tools on OS X Yosemite, I have read the first, but this helps me solve Not found problem

Here I will make available the steps I have taken to install Speciation with Homebro.

1) Install the latest SQLite

  brew install Sqlite ==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.8.8.3.yosemite.bottle.tar.gz Already downloaded: /Library/Caches/Homebrew/sqlite-3.8.8.3.yosemite.bottle Tar.gz = = & gt; Picture sqlite-3.8.8.3.yosemite.bottle.tar.gz == & gt; Warnings This formula is only lift, which means that it was not synchronized in / usr / local Mac OS X already provides this software and in order to create a different version in parallel to create all kinds of problems Could. OS X offers old SQL 3. Generally there is no result for you. If you create your own software and this formula is necessary for it, then you have to add it to your build variable: LDFALGS: -L / usr / local / opt / eslite / ippfalgs: -i / usr / local / opt / Esclaim / Include == & gt; Summary 🍺 /usr/local/Cellar/sqlite/3.8.8.3: 9 Files, 2.1M  

2) Install Libetatialite

  Install Fluffy libspatialite ==> Downloading https://homebrew.bintray.com/bottles/libspatialite-4.2.0_1.yosemite.bottle.tar.gz Already downloaded: /Library/Caches/Homebrew/libspatialite-4.2.0_1.yosemite.bottle Tar.gz = = & gt; Insertion libspatialite-4.2.0_1.yosemite.bottle.tar.gz 🍺 /usr/local/Cellar/libspatialite/4.2.0_1: 26 files, 17M  

3) Install spatialite -Tool

  brew Install Spaty -Type ==> Http://homebrew.bintray.com/bottles/spatialite-tools-4.2.0.yosemite.bottle.3.tar.gz Downloaded Before Downloading: / Library / Catches / Homebrew / Spatilight-Tools - 4.0.0 Bottle.3.tar.gz == & gt; Spiralite-Tools-4.0.0 .Usmate.bottle.3.tar.gz 🍺 /usr/local/Cellar/spatialite-tools/4.2.0: inserting 21 files, 804K  

) , Looks good till now Trying to use spatialite

  spatialite-processing SQLite title and source version mismatch 2015-02-25 13:29:11 9d6c1880fb75660bbabd693175579529785f8a6b 2014-12- 09 01:34: 36 f66f7a17b78ba617cde90fc810107f34f1a1f2e  

This is not feeling if spatialite like sqlite3 (f66f7a17b78ba617acde90fc810107f34f1a1f2e) is built on top of, but not (9d6c1880fb75660bbabd693175579529785f8a6b)

current version 3.8.8.3 9d6c1880fb7 5660bbabd693175579529785f8a6b

Required version 3.8.7.4 f66f7a17b78ba617acde90fc810107f34f1a1f2e

To fix this manually, I manually install 3.10.13 in homebrew

6) Currently installed the latest version SQLite 3.8.7.4 of which need to be installed instead of Sqlite

  Remove brew sqlite brew unlink sqlite  

7) Install SQLite 3.8.7.4

Database

  SPECIALIAT geo.db "SELECT InitSpatialMetaData ();" Dyld: lazy symbol binding failed: symbol not found: _sqlite3_rtree_geometry_callback: referenced from: /usr/local/lib/libspatialite.7.dllib Required: /usr/local/lib/libsqlite3.0.dylib dyld: Symbol not found: _sqlite3_rtree_geometry_callback From referenced: expected in /usr/local/lib/libspatialite.7.dylib: /usr/local/lib/libsqlite3.0.dylib trace / bpt net: 5  

is the issue That _sqlite3_rtree_geometry_callback can not be found in this library ...

Please tell me what I did wrong or if it's a good idea to install it on OS X The way is

Thank you for your time


No comments:

Post a Comment