Skip to content

Linker error when compiling on macOS 26.5.1 #61

Description

@MarkusSchwarz1980

I cloned SRW from GitHub to my MacBook running macOS 26.5.1.
When I run make all I get the following error:
clang++ [...] -L/[...]/SRW/ext_lib -lsrw -lm -lfftw3f -lfftw3 -o ../gcc/srwlpy.cpython-314-darwin.so [...] ld: library 'fftw3f' not found clang++: error: linker command failed with exit code 1 (use -v to see invocation) error: command '/usr/bin/clang++' failed with exit code 1
It seems to me that the linker does not find the correct files in the ext_lib subfolder. I was not able to track down the error. Thanks for your help. (I managed to compile after a counseling session with chatGPT, but it would be nice if this were fixed properly.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions