Comments (7)
Do you still get the error when doing?
gdalinfo --formats
# or
ogrinfo --formats
If so, try brew reinstall gdal
. It looks like you have changed/updated a supporting lib of gdal
, i.e. json-c
. The gdal
install links to specific versions of libs, instead of their base symlink, so any upgrading of the libs generally requires a rebuild of gdal
.
from homebrew-osgeo4mac.
yep, issue with gdal. gdalinfo --formats
is giving me
dyld: Symbol not found: _json_tokener_errors
Referenced from: /usr/local/Cellar/gdal/1.11.0/lib/libgdal.1.dylib
Expected in: /usr/local/lib/libjson-c.2.dylib
in /usr/local/Cellar/gdal/1.11.0/lib/libgdal.1.dylib
[1] 10620 trace trap gdalinfo --formats
Running homebrew's
default gdal, will try again with your build later today.
As always @dakcarto, thanks for the help!
from homebrew-osgeo4mac.
I'm having the same issue with the latest homebrew version.
$ gdalinfo --formats
dyld: Symbol not found: _json_tokener_errors
Referenced from: /usr/local/opt/liblwgeom/lib/liblwgeom-2.1.1.dylib
Expected in: /usr/local/lib/libjson-c.2.dylib
in /usr/local/opt/liblwgeom/lib/liblwgeom-2.1.1.dylib
Trace/BPT trap: 5
from homebrew-osgeo4mac.
Looks like an issue with json-c
version, which has now been downgraded: Homebrew/legacy-homebrew#29430.
Recommend trying brew reinstall json-c
.
Any further issues with gdal
or its supporting libs should be reported to main Homebrew issue tracker.
from homebrew-osgeo4mac.
brew reinstall json-c
alone did not work, I had to remove it (brew remove json-c
and then install it again brew install json-c
)
Thanks
from homebrew-osgeo4mac.
@rkrug Thanks for the tip. Odd, though, since that is what reinstall basically does. In this case, since there was a higher version number, and the new install was reverting to a lower number, it make sense. brew remove json-c
removes the now-orphaned 0.12 directory, allowing a clean install of 0.11.
Anything that uses json-c
would then need rebuilt: brew reinstall $(brew uses json-c --installed)
from homebrew-osgeo4mac.
It is even stranger: I had 0.11 installed and the reinstall did nothing. But the removal and subsequent install worked and gdal as well.
Envoyé de mon iPhone
Le 6 juin 2014 à 19:01, Larry Shaffer [email protected] a écrit :
@rkrug Thanks for the tip. Odd, though, since that is what reinstall basically does. In this case, since there was a higher version number, and the new install was reverting to a lower number, it make sense. brew remove json-c removes the now-orphaned 0.12 directory, allowing a clean install of 0.11.
Anything that uses json-c would then need rebuilt: brew reinstall $(brew uses json-c --installed)
—
Reply to this email directly or view it on GitHub.
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.