Skip to content

Allow Matplotlib to use system qhull >= 7.2.0

My system has qhull 8.0.0 installed. Because Matplotlib doesn't know about my system qhull it builds its own version. This can cause runtime issues with Matplotlib trying to call the wrong qhull library. For example, this fixes the error that

./sage -tp 8 --long --warn-long 31.1 --random-seed=0 src/sage/plot/plot3d/list_plot3d.py

produces

QH6249 qh_lib_check: Incorrect qhull library called. Size of qhT for caller is 2896, but for library is 2792. QH6256 qh_lib_check: Cannot continue. Library 'qhull 7.2.0 (2015.2 2016/01/18)' uses a static qhT (e.g., libqhull.so)

if the system has qhull 8.0.0 installed.

Merge request reports

Loading