I am prepared to bet that since you only installed gcc
(the C compiler) but not gxx
(the C++ compiler), your installation of multiphenicsx used the system wide compiler (provided by ubuntu) which may possibly be different from the one used by conda. nanobind
is very picky in that respect, and any mismatch (library version, compiler version) may result in the error that you both are seeing.
1 Like