Error (UUID) when compiling fitSNAP+LAMMPS

As I already stated, this is ultimately a problem with the software installation of your machine and not something that LAMMPS can control. Somehow, you or someone else have managed to get the machine you want to compile on in an inconsistent state. This has nothing to do with how you configure and compile LAMMPS. I was hoping that enabling shared libraries for LAMMPS could work around it, but it cannot.

Please also note, that you do not provide crucial information as suggested by the forum guidelines posted here: Please Read This First: Guidelines and Suggestions for posting LAMMPS questions

But even if you would provide those (e.g. LAMMPS version and platform/OS details) will not make your machine consistent and fix its issues. Your best way out of this is to get help from a local person that knows how to fix broken Linux installations.