Skip to content

Commit

Permalink
alpine: add a missing dependency library
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
komainu8 committed Dec 25, 2024
1 parent d09c0af commit 5006ce3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ RUN \
libarrow \
libedit \
libevent \
libgomp \
libstemmer \
lz4 \
msgpack-c \
Expand Down

0 comments on commit 5006ce3

Please sign in to comment.