ggml-org/whisper.cpp

@all: Help wanted to cross compile

Offen

#514 geöffnet am 19.02.2023

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (6.072 Forks)batch import
buildhelp wanted

Repository-Metriken

Stars
 (52.942 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 5T 20h) (36 gemergte PRs in 30 T)

Beschreibung

I want to use whisper.cpp on a Synology NAS (x86_64). Unfortunately there is no way to compile natively. If I use a version compiled on Ubuntu, I get the following error:

/volume1/script/whisper.cpp/main --help
/volume1/script/whisper.cpp/main: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /volume1/script/whisper.cpp/main)
/volume1/script/whisper.cpp/main: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /volume1/script/whisper.cpp/main)
/volume1/script/whisper.cpp/main: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /volume1/script/whisper.cpp/main)
/volume1/script/whisper.cpp/main: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /volume1/script/whisper.cpp/main)

Synology offers a tool chain with which one can cross-compile, but unfortunately I have absolutely no idea how to implement it for this project. For example, a configure script is assumed, which is not present in whisper.cpp.

Can anyone help me with this?

Contributor Guide