According to ubuntu manual:
ldconfig creates, updates, and removes the necessary links and
cache (for use by the run-time linker, ld.so) to the most recent
shared libraries found in the directories specified on the command
line, in the file /etc/ld.so.conf, and in the trusted directories
(/usr/lib and /lib).
So, assuming that freeverb.so is located in /home/yourUser/Download directory (folder), create folder in your home:
and copy freeVerb.so library:
cp /home/yourUser/Download/freeverb.so /home/yourUser/myLibrary
create a simple file freeverb.conf like this:
echo "/home/yourUser/myLibrary" > freeverb.conf
Add you configuration file freeverb.conf in /etc/ld.so.conf.d directory (in this directory you can find files as example)
sudo cp freeverb.conf /etc/ld.so.conf.d
ldconfig in order to configure dynamic linker run-time bindings.
If /etc/ld.so.conf.d doesn't exists, you can add your path at the end of /etc/ld.so.conf file.
At the end, if all went well, you can remove unnecessary file:
Your installation with
cmake fails because you are downloading a very old version of
jsoncpp from SourceForge , a version that actually does not use cmake. The file README.txt with the 0.5.0 tarball has the details:
JsonCpp uses Scons (http://www.scons.org) as a build system. Scons
requires python to be installed (http://www.python.org).
Newer versions of
jsoncpp are seen on GitHub (latest stable version is 1.7.3) and these actually do use
cmake to build.
However a reasonable version exists in the Trusty Repositories and the following command will get you
sudo apt-get install libjsoncpp-dev libjsoncpp0
Here are the details of the package on my system:
andrew@corinth:~$ apt-cache policy libjsoncpp-dev
*** 0.6.0~rc2-3ubuntu1 0
500 http://au.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
If you need a newer version this can be built from source but perhaps this version is enough for your purposes...
configurefile because the archive contains binaries.
The executable is in
/bin/: assuming that you extracted the folder in
~/Downloads, you can directly execute the program making it executable by running
and executing it by running
To install it, I suggest you to move the folder to
to make the program executable by running
and to add a symbolic link to
After that, you'll be able to run the program just by running