Closed luispuerto closed 4 years ago
@fjperini perhaps it's just me that I've updated something or something like that, but perhaps it's time to update.
I'm glad to help, but I really don't know where to start.
The problem it's due to update of openblas
and probably the issue will go away if I build again qgis locally.
A easy workaround to the issue is:
$ ln -s /usr/local/opt/openblas/lib/libopenblasp-r0.3.7.dylib /usr/local/opt/openblas/lib/libopenblasp-r0.3.6.dylib
I really don't know why they don't point to the versionless symbolic links that are available /usr/local/opt/openblas/lib/libopenblas.dylib
so we'll avoid this stupid problems.
Is this due to our formula or it's upstream?
I see here that on osgeo-qgis-res
formula el link es contra el version-less symbolic link. So I guess an expansion happens on the compilation or something?
I run in a similar issue last week reinstalling QGIS. I poured osgeo-qgis
formula, but then I needed to rebuild from source osgeo-qgis-res
. I also think it's related to upgraded formulas that hasn't been implemented in the bottle.
I'm sure @fjperini will solve it straight, but it the mean time you can try to rebuild osgeo-qgis-res
:
brew reinstall --build-from-source osgeo-qgis-res
I think another issue can be related with this too (https://github.com/OSGeo/homebrew-osgeo4mac/issues/1244#issue-489883661)
I had the same issue and needed to run brew reinstall https://raw.githubusercontent.com/OSGeo/homebrew-osgeo4mac/a0eba645a8b51153c81e514437c42ef0b98b8830/Formula/osgeo-gdal-python.rb
(osgeo-gdal-python 2.4.1_1) as well to get 'processing' to open properly. Rebuilding from source didn't work, but that's likely more of my fault for running Catalina.
The problem it's due to update of
openblas
and probably the issue will go away if I build again qgis locally.A easy workaround to the issue is:
$ ln -s /usr/local/opt/openblas/lib/libopenblasp-r0.3.7.dylib /usr/local/opt/openblas/lib/libopenblasp-r0.3.6.dylib
I really don't know why they don't point to the versionless symbolic links that are available
/usr/local/opt/openblas/lib/libopenblas.dylib
so we'll avoid this stupid problems.Is this due to our formula or it's upstream?
Thanks @luispuerto, your 'ln' link suggestion here certainly solved the initial problem @fjperini had reported, and which I also experienced. It also fixed the previously missing 'Vector' menu tools 'Geoprocessing Tools', 'Geometry Tools', 'Analysis Tools', 'Data Management Tools', and 'Research Tools'. These options now appear and function correctly where they were previously missing. Also the Processing menu has now appeared and works correctly.
@jasonrwang do you know if the above issues affect QGIS formula installation on Catalina?
New issue created to track Catalina stability for QGIS formula: https://github.com/OSGeo/homebrew-osgeo4mac/issues/1268
I have upgraded to Catalina with a previously working QGIS Zanzibar 3.8. It still works fine after upgrade.
From: shongololo notifications@github.com Reply to: OSGeo/homebrew-osgeo4mac reply@reply.github.com Date: Friday, 25 October 2019 at 10:26 To: OSGeo/homebrew-osgeo4mac homebrew-osgeo4mac@noreply.github.com Cc: Stephen Hallett s.hallett@cranfield.ac.uk, Comment comment@noreply.github.com Subject: Re: [OSGeo/homebrew-osgeo4mac] Numpy seems to not be available (AKA libopenblasp-r0.3.6.dylib not found) (#1245)
@jasonrwanghttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jasonrwang&d=DwMCaQ&c=KveGjKEXiH4bMFgGs-LRbCbewnnyGW6-rJ0JK7ViA_E&r=x_69-FlyLj8N7N87W4RRsWqnkjze4yUbpAgwmbZjWY4&m=VwiXLOL6SIznbiZDfJ9KQkaiDxEYImFuzTquDF04ss8&s=xxxWnMb3aKpHLot58qDQDjiPEO3CkajBiNPrhgbMxSc&e= do you know if the above issues affect QGIS formula installation on Catalina?
New issue created to track Catalina stability for QGIS formula:
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_OSGeo_homebrew-2Dosgeo4mac_issues_1245-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DABN5PAYAYJFENJX2VIX7COTQQK3UVA5CNFSM4IUAWCQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECHYXZY-23issuecomment-2D546278375&d=DwMCaQ&c=KveGjKEXiH4bMFgGs-LRbCbewnnyGW6-rJ0JK7ViA_E&r=x_69-FlyLj8N7N87W4RRsWqnkjze4yUbpAgwmbZjWY4&m=VwiXLOL6SIznbiZDfJ9KQkaiDxEYImFuzTquDF04ss8&s=2FjwEg-TJDZb9ZEjWRPxyWDaARiLZL22KoWMtQ8Whek&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABN5PA5I4SO2SJXS2BCJASLQQK3UVANCNFSM4IUAWCQA&d=DwMCaQ&c=KveGjKEXiH4bMFgGs-LRbCbewnnyGW6-rJ0JK7ViA_E&r=x_69-FlyLj8N7N87W4RRsWqnkjze4yUbpAgwmbZjWY4&m=VwiXLOL6SIznbiZDfJ9KQkaiDxEYImFuzTquDF04ss8&s=Z9NEQwHk2CuNJ9uSkredMGMvTqZW2BlM-7UjJ3IAqJM&e=.
@songololo @rendzina Yes, though I no longer think it is because of Catalina. See here: https://github.com/OSGeo/homebrew-osgeo4mac/issues/1261#issuecomment-540098248
On another note, this (hack-y) "fix" above doesn't solve all the underlying issues. I can't get Raster > Miscellaneous > Merge
to work because of another similar issue, and soft-linking doesn't fix it. Luckily, I was able to use Build Virtual Raster
instead to achieve the same goal.
Short log:
Reason: Incompatible library version: _gdal.cpython-37m-darwin.so requires version 27.0.0 or later, but libgdal.26.dylib provides version 26.0.0
Full (relevant) log:
2019-10-25T12:39:03 INFO GDAL execution console output Traceback (most recent call last): File "/usr/local/opt/osgeo-qgis/QGIS.app/Contents/MacOS/bin/gdal_merge.py", line 38, in from osgeo import gdal File "/usr/local/opt/osgeo-gdal-python/lib/python3.7/site-packages/osgeo/init.py", line 21, in _gdal = swig_import_helper() File "/usr/local/opt/osgeo-gdal-python/lib/python3.7/site-packages/osgeo/init.py", line 17, in swig_import_helper _mod = imp.load_module('_gdal', fp, pathname, description) File "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/imp.py", line 242, in load_module return load_dynamic(name, filename, file) File "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/imp.py", line 342, in load_dynamic return _load(spec) ImportError: dlopen(/usr/local/opt/osgeo-gdal-python/lib/python3.7/site-packages/osgeo/_gdal.cpython-37m-darwin.so, 2): Library not loaded: /usr/local/opt/osgeo-gdal/lib/libgdal.26.dylib Referenced from: /usr/local/opt/osgeo-gdal-python/lib/python3.7/site-packages/osgeo/_gdal.cpython-37m-darwin.so Reason: Incompatible library version: _gdal.cpython-37m-darwin.so requires version 27.0.0 or later, but libgdal.26.dylib provides version 26.0.0
Please answers the following
I've...
brew update
twice?)brew gist-logs formula
Describe the bug
When opening QGIS this window show ups:
To Reproduce
Just open QGIS, but perhaps it's just me.