Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference to memcpy@GLIBC_2.14'` #297

Open
gAldeia opened this issue Nov 17, 2023 · 2 comments
Open

undefined reference to memcpy@GLIBC_2.14'` #297

gAldeia opened this issue Nov 17, 2023 · 2 comments

Comments

@gAldeia
Copy link
Contributor

gAldeia commented Nov 17, 2023

When compiling the source code by doing ./configure test and then ./install, the library successfully compiles, but fails linking the tests with undefined reference to memcpy@GLIBC_2.14'`:

[100%] Linking CXX executable tests
/home/guilherme/miniconda3/envs/feat/bin/../lib/gcc/x86_64-conda-linux-gnu/13.1.0/../../../../x86_64-conda-linux-gnu/bin/ld: /home/guilherme/miniconda3/envs/feat/bin/../lib/gcc/x86_64-conda-linux-gnu/13.1.0/../../../../lib/./libhdf5.so.103: undefined reference to `memcpy@GLIBC_2.14'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/tests.dir/build.make:293: tests] Error 1
make[2]: Leaving directory '/home/guilherme/Documents/github/feat/build'
make[1]: *** [CMakeFiles/Makefile2:194: CMakeFiles/tests.dir/all] Error 2
make[1]: Leaving directory '/home/guilherme/Documents/github/feat/build'
make: *** [Makefile:136: all] Error 2
make: Leaving directory '/home/guilherme/Documents/github/feat/build'
@lacava
Copy link
Member

lacava commented Nov 18, 2023

@lacava
Copy link
Member

lacava commented Nov 18, 2023

configure and install are deprecated; please confirm the directions in the README work. You may be able to fix configure/install runs by specifying the version of gcc/g++ you want the script to call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants