-
Notifications
You must be signed in to change notification settings - Fork 106
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
dyld: Library not loaded: @rpath/libfftw3.3.dylib with conda FFTW #101
Comments
I have indeed found a better way: we can statically link libfftw3 instead of dynamically linking it, as in the command above. Then we can compile with
Then I don't need to bother with |
I thought @linqiaozhi is working on a Mac laptop (?). Have you not run into these problems, George? |
This is not a problem if FFTW is installed system-wide, which I suppose is the recommended procedure. Sometimes you don't have root access, or in my case, I just wanted the package to be self-contained and not pollute my system directories. |
Hmm, I did have to install FIt-SNE on our linux server where I don't have sudo rights, and I followed the instructions here #35 and used
which is what you did first. And I don't think I had any problems with it afterwards. Anyway, static linking looks like it might be a more robust option. We should maybe add these instructions it to the README. |
I'm putting this here because it may be helpful to someone in the future (probably me), experiencing the following error on Macs:
I installed FFTW by running
conda install -c conda-forge fftw
. Next, I cloned this repo and ran the following commandso the compiler and linker knew what to do. Trying to do the (I guess) standard import for
fast_tsne
I got the error above
My current fix is setting the environmental variable
Not very satisfying. If somebody comes up with something better, that would be fantastic.
The text was updated successfully, but these errors were encountered: