mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-12 23:43:02 +01:00
Fix 93ab16c
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:
parent
c0d4070b96
commit
5f7d4fc45f
@ -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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user