1 diff --git a/pynvml.py b/pynvml.py
2 index 9a424de..669afe0 100644
5 @@ -1676,7 +1676,11 @@ def _LoadNvmlLibrary():
6 nvmlLib = CDLL(os.path.join(os.getenv("ProgramFiles", "C:/Program Files"), "NVIDIA Corporation/NVSMI/nvml.dll"))
9 - nvmlLib = CDLL("libnvidia-ml.so.1")
11 + nvmlLib = CDLL("libnvidia-ml.so.1")
14 + nvmlLib = CDLL("@driverLink@/lib/libnvidia-ml.so.1")
15 except OSError as ose:
16 _nvmlCheckReturn(NVML_ERROR_LIBRARY_NOT_FOUND)