Fess 13.8をリリースしました。今回は特に新しい機能とかはなくて、elasticsearch 7.8に対応したという感じです。その他には、依存しているライブラリの更新くらいです。そんな感じではありますが、ご利用くださいませ。
nvccでgccのバージョンエラー
nvccがgccのバージョンに依存しているので、新しいgccを使っていたりすると、cudaのバージョンによっては以下のような感じのエラーになる。
$ nvcc -o add_cuda add.cu In file included from /usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_runtime.h:83, from : /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported! 138 | #error -- unsupported GNU version! gcc versions later than 8 are not supported!
この場合だと、
$ sudo apt install g++-8
として、gcc 8をインストールして、nvccコマンドを以下のように実行すればコンパイルできる。
$ nvcc -o add_cuda add.cu -ccbin g++-8
Ubuntu 20.04でlibffi.so.6がない
Ubuntu 20.04で
ImportError: libffi.so.6: cannot open shared object file: No such file or directory
のように怒られた。libffi6でなく、7になっているからなので
sudo ln -s /usr/lib/x86_64-linux-gnu/libffi.so.7.1.0 /usr/lib/x86_64-linux-gnu/libffi.so.6
のような感じで、回避しておく。