When executing a script I get the following error:
Unhandled SIMPLE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING {1003A70003}>: The assertion (COMMON-LISP:= (MAGICFFI::MAGIC-VERSION) MAGICFFI::+MAGIC-VERSION+)
failed with (MAGICFFI::MAGIC-VERSION) = 533.
I asked the author of the script about it, here is what he answered me:
This is an error from libmagic (called from FFI). It is complaining that
the version of your header files are inconsistent with your shared
library. So you have an issue that your shell environment (e.g. bash) is
mixing up the system environment (some library in /usr/lib,
/usr/include) and the miniconda environment.
Please review your CPATH, LD_LIBRARY_PATH, ~/.bashrc, ~/.bash_profile,
~/.profile .
I have inspected these variables, only CPATH and .bashrc contain "pathes":
CPATH:
/g100_work/PROJECTS/spack/v0.16/install/0.16.2/linux-centos8-skylake_avx512/gcc-8.3.1/anaconda3-2020.07-l2bohj4adsd6r2oweeytdzrgqmjl64lt/bin/conda' 'shell.bash'
.bashrc:
/g100_work/PROJECTS/spack/v0.16/install/0.16.2/linux-centos8-skylake_avx512/gcc-8.3.1/anaconda3-2020.07-l2bohj4adsd6r2oweeytdzrgqmjl64lt/etc/profile.d/conda.sh
/g100_work/PROJECTS/spack/v0.16/install/0.16.2/linux-centos8-skylake_avx512/gcc-8.3.1/anaconda3-2020.07-l2bohj4adsd6r2oweeytdzrgqmjl64lt/bin:$PATH
I am really new to solving these kinds of bugs... So, may I ask if you have any clue about what's wrong ? or what else should I do ?
Thank you