How Do I Resolve Installation Failures?

Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/petsc/lib/python3/dist-packages/dolfinx/init.py”, line 46, in
from dolfinx import common
File “/usr/lib/petsc/lib/python3/dist-packages/dolfinx/common.py”, line 11, in
from dolfinx import cpp as _cpp
ImportError: /lib/x86_64-linux-gnu/libfftw3_mpi.so.3: undefined symbol: fftw_taint

Please read Read before posting: How do I get my question answered?. To make it readable (e.g., not how __init__ turned to a bold init), you must format the error message with “```”. More importantly, you need to provide us complete information on what your OS is and how you installed dolfinx.

From your installation paths, I can guess that your OS is ubuntu or debian, but I certainly cannot guess which version. libfftw3 is a dependency of petsc, however apt from ubuntu/debian does not install into /lib (see Debian -- File list of package libfftw3-mpi3/sid/amd64). My best guess it that you installed those libraries with some other tool (or from source), and now they are conflicting with the ones provided by ubuntu/debian. If that is the case, the simplest solution would be to determine if you really need that other installation and, if not, uninstall it.

I’m sorry for not following the rules. I installed ubuntu via apt. I need to keep those libraries, what do I do with them?

I think the relevant question is: how did you install those libraries?