From 959c1a4db43645ab49c973c6f8f4a6b546c257cb Mon Sep 17 00:00:00 2001 From: samywang92 Date: Thu, 21 Dec 2023 16:11:43 -0800 Subject: [PATCH] add ldconfig section for onnxruntime on linux --- INSTALL-LINUX.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/INSTALL-LINUX.md b/INSTALL-LINUX.md index 8237fa5b..dfd8e167 100644 --- a/INSTALL-LINUX.md +++ b/INSTALL-LINUX.md @@ -38,6 +38,13 @@ Please visit official onnxruntime [github](https://github.com/microsoft/onnxrunt ```sh curl -L https://github.com/microsoft/onnxruntime/releases/download/v1.4.0/onnxruntime-linux-x64-1.4.0.tgz | tar zx -C ``` + +Add directory to `ldconfig` +``` +sudo vim /etc/ld.so.conf +sudo ldconfig +``` + * Please note, latest version of onnxruntime with GPU only supports `CUDA 1.8` * `libcudnn8` will also be needed if you run with GPU, please install with: ```