An issue of conda moose environment installation #20497
-
|
Hello everyone, I'm working on Ubuntu 18.04.5 LTS system and recently met an issue when installing moose follow the link below: The issue appears in the following step: cd ~/projects/moose/test
make -j 4
...
Creating Unity /home/qdeng/projects/moose/test/build/unity_src/indicators_Unity.C
Creating Unity /home/qdeng/projects/moose/test/build/unity_src/outputs_Unity.C
/home/qdeng/mambaforge3/envs/moose/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /opt/moose/gcc-9.2.0/lib/../lib64/libquadmath.so: undefined reference to `__signgam@GLIBC_2.23'
/home/qdeng/mambaforge3/envs/moose/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /opt/moose/gcc-9.2.0/lib/../lib64/libgfortran.so: undefined reference to `getentropy@GLIBC_2.25'
/home/qdeng/mambaforge3/envs/moose/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /opt/moose/gcc-9.2.0/lib/../lib64/libstdc++.so: undefined reference to `__cxa_thread_atexit_impl@GLIBC_2.18'
/home/qdeng/mambaforge3/envs/moose/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /opt/moose/gperftools-2.7/lib/libtcmalloc_and_profiler.so: undefined reference to `glob@GLIBC_2.27'
/home/qdeng/mambaforge3/envs/moose/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /opt/moose/gcc-9.2.0/lib/../lib64/libgfortran.so: undefined reference to `expf@GLIBC_2.27'
/home/qdeng/mambaforge3/envs/moose/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /opt/moose/gcc-9.2.0/lib/../lib64/libgfortran.so: undefined reference to `logf@GLIBC_2.27'
collect2: error: ld returned 1 exit status
/home/qdeng/projects/moose/framework/moose.mk:374: recipe for target '/home/qdeng/projects/moose/framework/contrib/exodiff/exodiff' failed
make: *** [/home/qdeng/projects/moose/framework/contrib/exodiff/exodiff] Error 1
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.Whether we tried to clean it using 'make clobberall' or reinstalled it from the beginning, the same issue always exists. We are now stuck and if anyone knows how to fix this, we would highly appreciate it! Best regards, Qinglin |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Looks like you are still using the old moose-environment packages (deprecated, and they are conflicting with your Conda installation). You'll want to either delete the old package environment ( Edit: I mean to say the old environment located in |
Beta Was this translation helpful? Give feedback.
Looks like you are still using the old moose-environment packages (deprecated, and they are conflicting with your Conda installation). You'll want to either delete the old package environment (
dpkg -r moose-environment), or remove the portion of your profile that sources this location (check your~/.bash_profile,~/.profile, or~/.bashrc).Edit: I mean to say the old environment located in
/opt/moosewhich was created by the installation of the now deprecated package: moose-environment.deb)