1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 00:33:02 +01:00
sudo echo "/usr/local/lib/" >> /etc/ld.so.conf.d/locallib.conf will not work when executing as a non-root user. Tee should get the job done.
This commit is contained in:
cl34r 2013-11-15 13:07:02 -05:00
parent c0d4070b96
commit 5f7d4fc45f

View File

@ -11,6 +11,6 @@ Then execute the configure script (you'll probably have to pass it the location
```
*Note:* If your default prefix is /usr/local and you happen to get an error that says "error while loading shared libraries: libtoxcore.so.0: cannot open shared object file: No such file or directory", then you can try running ```sudo ldconfig```. If that doesn't fix it, run:
```
sudo echo "/usr/local/lib/" >> /etc/ld.so.conf.d/locallib.conf
echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
sudo ldconfig
```