Skip to content

Commit

Permalink
update install documentation (#1484)
Browse files Browse the repository at this point in the history
1. prefer sudo make install to avoid permission problem
2. add ldconfig to avoid 'libctranslate2.so.3: cannot open shared object file'
  • Loading branch information
zxdvd authored Sep 15, 2023
1 parent d240717 commit 0d1424d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ Compiling the library requires a compiler supporting C++17 and CMake 3.15 or gre
mkdir build && cd build
cmake ..
make -j4
make install
sudo make install
sudo ldconfig
```

By default, the library is compiled with the [Intel MKL](https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl.html) backend which should be installed separately. See the {ref}`installation:build options` to select or add another backend.
Expand Down

0 comments on commit 0d1424d

Please sign in to comment.