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

search path for openmp #4858

Closed
paulandrewjohnson opened this issue Aug 9, 2024 · 2 comments
Closed

search path for openmp #4858

paulandrewjohnson opened this issue Aug 9, 2024 · 2 comments

Comments

@paulandrewjohnson
Copy link

paulandrewjohnson commented Aug 9, 2024

I am trying to make OpenBLAS on a Mac (i7 Intel chip).

I get to
[ 98%] Linking C shared library lib/libopenblas.dylib ld: warning: search path '/opt/local/lib/libomp' not found

libomp was installed with homebrew and I know it is located at
/usr/local/opt/libomp
rather than
/opt/local/lib/libomp

Can I set an environment variable so that make will find the correct path?

@martin-frbg
Copy link
Collaborator

I'm not that familiar with homebrew, but from Homebrew/brew#13481 (which seems to mostly boil down to "no solution, except that it magically works when you have brew install things in /usr/local") you can probably set DYLD_LIBRARY_PATH

@martin-frbg
Copy link
Collaborator

Seems to work just fine in our Azure CI setup even when I update that to use the latest available OS with homebrew, so may be a local problem with your homebrew installation.

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

2 participants