After dolfinx installation, I import dolfinx and an error is “libdolfinx.so.0.1: undefined symbol: _ZN5basix4cell11type_to_strB5cxx11ENS0_4typeE”. Can anyone help me? Thanks
Make sure your installed version of
basix is up to date. You can use
ldd libdolfinx.so to make sure it’s linked to the correct version.
... libbasix.so => $HOME/local/lib/libbasix.so (0x00007fcff599b000) ...
which I know is correct for my system.
I installed the older commit #980 which doesn’t need basix and it’s the problem caused by the residue left by the uninstallation of the newest dolfinx commit