... | ... | @@ -183,7 +183,7 @@ $ make install |
|
|
```
|
|
|
(typically, in such cases we also want to install the library itself in the home directory; for this we need to combine with the options in the previous section.)
|
|
|
|
|
|
Before we try to use the library, we must be sure that the *dynamic linker* knows where to find the libraries that were installed in nonstandard directories. In modern OSs, the path `$HOME/lib` is already in the standard path, but if this is not the case we need to set `LD_LIBRARY_PATH`
|
|
|
Before we try to use the library, we must be sure that the *dynamic linker* knows where to find the libraries that were installed in nonstandard directories. In modern OSs, the path `$HOME/.local/lib` is already in the standard path, but if this is not the case we need to set `LD_LIBRARY_PATH`
|
|
|
```bash
|
|
|
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/.local/lib"
|
|
|
```
|
... | ... | |