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

alpine: add a missing dependency library #19

Merged
merged 1 commit into from
Dec 25, 2024
Merged

alpine: add a missing dependency library #19

merged 1 commit into from
Dec 25, 2024

Conversation

komainu8
Copy link
Member

@komainu8 komainu8 commented Dec 25, 2024

This modification fix the following error.

$ docker run alpine-groonga-test-01
Error loading shared library libgomp.so.1: No such file or directory (needed by /usr/lib/libgroonga.so.0) Error relocating /usr/lib/libgroonga.so.0: GOMP_parallel: symbol not found Error relocating11 /usr/lib/libgroonga.so.0: GOMP_single_start: symbol not found Error relocating /usr/lib/libgroonga.so.0: omp_get_num_threads: symbol not found Error relocating /usr/lib/libgroonga.so.0: GOMP_barrier: symbol not found Error relocating /usr/lib/libgroonga.so.0: omp_get_thread_num: symbol not found

llama.cpp uses OpenMP.
However, we had not installed libgomp in alpine docker image. So, we install libgomp in alpine docker image in this docker image in this modification.

This modification fix the following error.

$ docker run alpine-groonga-test-01
Error loading shared library libgomp.so.1: No such file or directory (needed by /usr/lib/libgroonga.so.0)
Error relocating /usr/lib/libgroonga.so.0: GOMP_parallel: symbol not found
Error relocating11 /usr/lib/libgroonga.so.0: GOMP_single_start: symbol not found
Error relocating /usr/lib/libgroonga.so.0: omp_get_num_threads: symbol not found
Error relocating /usr/lib/libgroonga.so.0: GOMP_barrier: symbol not found
Error relocating /usr/lib/libgroonga.so.0: omp_get_thread_num: symbol not found

llama.cpp use OpenMP.
However, we had not installed libgomp in alpine docker image.
So, we install libgomp in alpine docker image in this docker image in this modification.
@abetomo
Copy link
Contributor

abetomo commented Dec 25, 2024

テストを追加して気付けるようにせねば…。

@kou kou merged commit 3bf467e into main Dec 25, 2024
4 checks passed
@kou kou deleted the fix-symbol-not-found branch December 25, 2024 03:59
abetomo added a commit to abetomo/groonga-docker that referenced this pull request Dec 25, 2024
Related: GitHub groongaGH-19

Know quickly what cannot be executed.
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

Successfully merging this pull request may close these issues.

3 participants