Skip to content

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
Member

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.
abetomo added a commit to abetomo/groonga-docker that referenced this pull request Mar 29, 2025
Related: GitHub groongaGH-19

Know quickly what cannot be executed.
kou pushed a commit that referenced this pull request Mar 29, 2025
Related: GitHub GH-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