CorentinLimier

Results 5 comments of CorentinLimier

Any update on this issue ? I had a similar error (this time when indexing the documents on an index that uses faiss engine) ``` java.lang.UnsatisfiedLinkError: /usr/share/opensearch/plugins/opensearch-knn/lib/libopensearchknn_faiss_avx2.so: /usr/share/opensearch/data/ml_cache/pytorch/1.13.1-cpu-precxx11-linux-x86_64/libstdc++.so.6: version `GLIBCXX_3.4.21'...

@heemin32 Sadly I can't. We rollbacked the index to lucene engine because it happened on a production cluster. Switching all the searches from neural to knn field would be too...

@0ctopus13prime awesome, thanks a lot for the lead, I will try that and tell you if it works + the output of `g++ --version` before and after One question though,...

@0ctopus13prime Indeed when doing ``` strings /usr/share/opensearch/data/ml_cache/pytorch/1.13.1-cpu-precxx11-linux-x86_64/libstdc++.so.6 | grep "GLIBCXX" ``` We can see that GLIBCXX stops at version 3.4.19 (which explain the missing 3.4.21) We did install latest libstdc++...

We solved this issue by replacing `/usr/share/opensearch/data/ml_cache/pytorch/1.13.1-cpu-precxx11-linux-x86_64/libstdc++.so.6` by `/usr/lib64/libstdc++.so.6` that contains the correct version of GLIBCXX (once the container runs since the file is generated after build time). Issue seems...