Undefined memcpy@GLIBC_2.14, getauxval@GLIBC_2.14, aligned_alloc@GLIBC_2.16
-
I'm getting these errors when I try to compile some simple C++ Qt code with:
- RH Linux 7
- GCC/G++ 12.3.0
- Qt 6.7.0
- Cmake 3.28
- Anaconda environment
Anyone else seen problems like this one?
-
@DeadComposer Switching to GCC 10 worked.
-
Looks like you have a mix of glibc versions required/installed and the linker is not happy.
Redhat Linux 7 is not a supported version for Qt 6.7 so you will probably be on your own. See the notes in Availability of Packages.
I've no idea what "Anaconda environment" is. If someone else is providing Qt binaries then you should address questions to them about dependencies.
-
-
@Pl45m4 well, yes and no, even if mainly used for Python related projects, it's a tool that also allows you to build reproducible environments in a scientific context with many libs from different languages. The compilers are standardized so all packages are consistent (at least it's the goal).
Back to the original problem, @DeadComposer what are you building and how ? You might be mixing your host and your conda environment.
-
@DeadComposer Switching to GCC 10 worked.
-