I successfully built your code on my Linux platform, but when I try to compile it on OS X, I get this error:
$ go get github.com/bemasher/rtlamr
github.com/bemasher/fftw
ld: library not found for -lfftw3
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The fftw3 library is installed, but on my OS X system, libfftw3 is in /opt/local/lib, and I don't know how to add that path to the build procedure.
Any ideas of how to specify a library search path? If it were C and a Makefile, then I could find where to add the library directory. But I'm not very familiar with go.
Hi,
I successfully built your code on my Linux platform, but when I try to compile it on OS X, I get this error:
$ go get github.com/bemasher/rtlamr
github.com/bemasher/fftw
ld: library not found for -lfftw3 clang: error: linker command failed with exit code 1 (use -v to see invocation)
The fftw3 library is installed, but on my OS X system, libfftw3 is in /opt/local/lib, and I don't know how to add that path to the build procedure.
Any ideas of how to specify a library search path? If it were C and a Makefile, then I could find where to add the library directory. But I'm not very familiar with go.
Thanks,
Ag Primatic