From 5f7d4fc45f381c7268e3e79d5bab025b1d6aa080 Mon Sep 17 00:00:00 2001 From: cl34r Date: Fri, 15 Nov 2013 13:07:02 -0500 Subject: [PATCH] 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e92ac5..fc2a498 100644 --- a/README.md +++ b/README.md @@ -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 ```