From e2a15ffe0580309833f6008bf803572face92577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Austin=20John=20Mayer=20=28=E4=BA=95=E4=B8=8A=20=E3=82=AA?= =?UTF-8?q?=E3=83=BC=E3=82=B9=E3=83=86=E3=82=A3=E3=83=B3=29?= <95405354+tronicboy1@users.noreply.github.com> Date: Mon, 18 Dec 2023 13:17:02 +0900 Subject: [PATCH] Add small note for mac users about dynlib location --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b7cf2a..b22b595 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ To build the library yourself: This will result in the dynamic library `faiss_c` ("c_api/libfaiss_c.so" on Linux), which needs to be installed in a place where your system will pick up (in Linux, try somewhere in the `LD_LIBRARY_PATH` environment variable, such as "/usr/lib", - or try adding a new path to this variable). + or try adding a new path to this variable. For mac users, this means placing it in `/usr/local/lib/libfaiss_c.dylib`). For GPU support, don't forget to enable the option `FAISS_ENABLE_GPU`. **Note:** `faiss_c` might link dynamically to the native `faiss` library, which in that case you will need to install the main shared object (faiss/libfaiss.so)