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

Linking problem: undefined reference to log@GLIBC_2.29 #45

Closed
stryder-vtx opened this issue Aug 25, 2023 · 7 comments
Closed

Linking problem: undefined reference to log@GLIBC_2.29 #45

stryder-vtx opened this issue Aug 25, 2023 · 7 comments

Comments

@stryder-vtx
Copy link

After running CMake followed by make, I get the following error:
../libs/libfftw3fl.so undefined reference to 'log@GLIBC_2.29'
I'm on a RHEL 7 machine using RedHat's devtoolset-11 (gcc 11.2)
FFTW3 exists on the system, but I only have libfftw3.so, libfftw3f.so and libfftw3l.so not 'fl'. I'd build that library myself, but there isn't a configure/make that does that. Or perhaps there's an easier solution?

@felixdollack
Copy link
Contributor

@stryder-vtx it seems with RHEL 7 it is not possible to install GLIBC 2.29.
In a recent issue of another project someone commented on a workaround using RHEL 9...

@stryder-vtx
Copy link
Author

Is there anything special about the libfftw3fl.so library such that it can't be built on a RHEL 7 machine? Or perhaps I can just use an existing libfftw3f.so or libfftw3l.so?

@stellarpower
Copy link
Contributor

stellarpower commented Sep 15, 2023

glibc errors usually occur for me when I build a project on one OS release, and then try to run it on another. Are you installing the FFTW package from the repos for a newer version of RedHat?

@stryder-vtx
Copy link
Author

I got it to build in a docker container running Rocky Linux 9.2 after modifying the CMakeLists.txt to use the installed FFTW libraries and look in /usr/lib64.

@felixdollack
Copy link
Contributor

@stryder-vtx, I am glad you got it working for you.
Since Rocky Linux is the open-source variant of RHEL, you also could have used RHEL9 as mentioned before.

@stellarpower
Copy link
Contributor

It sounds like it could be time to add a CI build to the project, given the number of opened issues relating to building. And maybe a simple CMake-based example application, aimed at the experience level of say an academic more so than at a programmer.

@felixdollack
Copy link
Contributor

@stellarpower there is a pending pull (#33) request to do just that

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

3 participants