[Qgis-user] MacOS X11 library configuration for plugins

Fielding, Eric J (US 329A) eric.j.fielding at jpl.nasa.gov
Sat Jun 12 19:02:32 PDT 2021


I recently upgraded from QGIS 3.10 to 3.18.3 to get the excellent new continuous color palette plotting for map layouts. That is a huge improvement for people like me who work with continuous datasets. Thanks to those who implemented this!

I am getting warnings from several of the QGIS plugins that they are not able to find an X11 library. It seems that the plugins have been compiled to look in a different location “/opt/X11/lib” than what I have on my Mac. I installed my X11 with MacPorts instead of the XQuartz server version, so this library is at “/opt/local/lib/libxcb.dylib” on my system. This is the error message:
ImportError: dlopen(/Applications/QGIS.app/Contents/MacOS/lib/python3.8/site-packages/Pillow-7.2.0-py3.8-macosx-10.13.0-x86_64.egg/PIL/_imaging.cpython-38-darwin.so, 2): Library not loaded: /opt/X11/lib/libxcb.1.dylib   Referenced from: /Applications/QGIS.app/Contents/MacOS/lib/python3.8/site-packages/Pillow-7.2.0-py3.8-macosx-10.13.0-x86_64.egg/PIL/_imaging.cpython-38-darwin.so   Reason: image not found

Is there a way to update the path in the plugins or do I have to install the XQuartz version of the X11 server?

Thanks,
                ++Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210613/50a81050/attachment.html>


More information about the Qgis-user mailing list