Comments (10)
I tried '%brew reinstall expat' and rebooted the machine, but the problem persists.
from homebrew-osgeo4mac.
koa.local 3 mha % brew info expat
expat: stable 2.1.0 (bottled)
http://expat.sourceforge.net/
This formula is keg-only.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
OS X includes Expat 1.5.
/usr/local/Cellar/expat/2.1.0 (11 files, 712K)
Built from source with: --universal
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/expat.rb
==> Options
--universal
Build a universal binary
from homebrew-osgeo4mac.
I may have done something ill advised like 'expat link' or 'expat unlink' in response to 'brew doctor' a while back?
from homebrew-osgeo4mac.
*brew link expat or 'brew unlink expat' I mean.
from homebrew-osgeo4mac.
You should not force link packages that are keg-only unless you really need to, e.g. when building your own software that expects to find the dependencies in /usr/local
and can resolve the symlinks back to Cellar
.
Note: this issue is unrelated to the qgis-24
formula install. If you look in your initial report, the path is /usr/local/opt/qgis-20
, which was already broken, and now will not load at all because it is linked to an older (extinct) version of expat
. You no doubt have upgraded that with brew by now.
If you are launching QGIS from a symlink in /Applications/
or ~/Applications/
(created via brew linkapps
command), you will want to refresh that setup to keep from launching QGIS 2.0.
Let me know how the launching of qgis-24
goes for you, though. Thanks.
from homebrew-osgeo4mac.
I start qgis from the command line as 'qgis' As you pointed out this was linked to qgis 2.0
koa.local 6 mha % ls -l /usr/local/bin/qgis
lrwxr-xr-x 1 mha admin 34 Apr 23 15:59 /usr/local/bin/qgis@ -> ../Cellar/qgis-20/2.0.1_1/bin/qgis
So I did:
koa.local 24 mha % brew link --overwrite qgis-24
Linking /usr/local/Cellar/qgis-24/2.4.0_3... 410 symlinks created
qgis starts up fine now! Thanks for all you help!
PS If I experience instability I will reinstall using '--without-globe' as you suggest.
from homebrew-osgeo4mac.
Should this be reopened? I get a similar error after installing qgis-24
(not upgrading from previous versions):
dyld: Library not loaded: /usr/local/lib/libexpat.1.dylib
Referenced from: /usr/local/opt/qgis-24/QGIS.app/Contents/MacOS/QGIS
Reason: Incompatible library version: QGIS requires version 8.0.0 or later, but libexpat.1.dylib provides version 7.0.0
/usr/local/bin/qgis: line 8: 14739 Trace/BPT trap: 5 /usr/local/opt/qgis-24/QGIS.app/Contents/MacOS/QGIS
In my case, the path is up to date. Besides, brew doctor
does not report anything, and forcing re-linking with brew link
has no effect. This is on OS X 10.7.5.
There is no expat
library in /usr/local/lib
, and I think there never was one, since expat
is keg-only. Why does QGIS try to load a library from there?
from homebrew-osgeo4mac.
You might try 'brew upgrade expat'
When I do 'brew info expat' from my system (qgis-24 working now) I get:
expat: stable 2.1.0 (bottled)
http://expat.sourceforge.net/
This formula is keg-only.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
OS X includes Expat 1.5.
/usr/local/Cellar/expat/2.1.0 (11 files, 712K)
Built from source with: --universal
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/expat.rb
==> Options
--universal
Build a universal binary
from homebrew-osgeo4mac.
I have tried that, and brew reinstall expat
, too, to no avail.
from homebrew-osgeo4mac.
Never mind, removing and re-installing qgis-24
did the trick.
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.