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?
-
@ChrisW67 Correction, it's RH Linux 8.8. I guess I should be using GCC 10 instead of GCC 12.
@DeadComposer Switching to GCC 10 worked.
-
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?
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.
-
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.
-
@ChrisW67 said in Undefined memcpy@GLIBC_2.14, getauxval@GLIBC_2.14, aligned_alloc@GLIBC_2.16:
Anaconda environment
Anaconda is a package manager / virtual env. for Python... and honestly I dont know how it should be related to the issue ;-)
@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.
-
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.
@ChrisW67 Correction, it's RH Linux 8.8. I guess I should be using GCC 10 instead of GCC 12.
-
@ChrisW67 Correction, it's RH Linux 8.8. I guess I should be using GCC 10 instead of GCC 12.
@DeadComposer Switching to GCC 10 worked.
-
D DeadComposer has marked this topic as solved on