FFTW / fftw3

DO NOT CHECK OUT THESE FILES FROM GITHUB UNLESS YOU KNOW WHAT YOU ARE DOING. (See below.)
GNU General Public License v2.0
2.67k stars 652 forks source link

libfftw3f.so:对‘log@GLIBC_2.29’未定义的引用 #266

Closed dfy888 closed 2 years ago

dfy888 commented 2 years ago

libfftw3f.so:对‘log@GLIBC_2.29’未定义的引用

glibc2.29到底谁在用?

stevengj commented 2 years ago

FFTW uses the log function in the standard C library (e.g. here: https://github.com/FFTW/fftw3/blob/e9c510bf92a4fa848982310d2ecc8c5701aa3f6a/api/mapflags.c#L70) — if you compile FFTW using glibc (the GNU implementation of the standard C library), then you need to link your code with glibc. If you want to use some other standard C library (e.g. musl) you need to compile FFTW with that.