Skip to content

Build fails on macos with openmp and static lib enabled #6601

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

Closed
Mottl opened this issue Aug 10, 2024 · 0 comments · Fixed by #6600
Closed

Build fails on macos with openmp and static lib enabled #6601

Mottl opened this issue Aug 10, 2024 · 0 comments · Fixed by #6600
Labels

Comments

@Mottl
Copy link
Contributor

Mottl commented Aug 10, 2024

Description

Build fails on macos with openmp and static lib enabled

cmake -B build -S . -DBUILD_STATIC_LIB=ON && cmake --build build -j4
...
Replacing hard-coded OpenMP install_name with '@rpath/libomp.dylib'...
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: can't open file: lib_lightgbm.dylib (No such file or directory)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants