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:
mkdir /home/yourUser/myLibrary
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
Run ldconfig
in order to configure dynamic linker run-time bindings.
sudo ldconfig
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:
rm freeverb.conf
rm /home/yourUser/Download/freeverb.so
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:
* Building/Testing:
=================
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 jsoncpp 0.6.0
:
sudo apt-get install libjsoncpp-dev libjsoncpp0
Here are the details of the package on my system:
andrew@corinth:~$ apt-cache policy libjsoncpp-dev
libjsoncpp-dev:
Installed: 0.6.0~rc2-3ubuntu1
Candidate: 0.6.0~rc2-3ubuntu1
Version table:
*** 0.6.0~rc2-3ubuntu1 0
500 http://au.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
100 /var/lib/dpkg/status
andrew@corinth:~$
If you need a newer version this can be built from source but perhaps this version is enough for your purposes...
Best Answer
There's no
configure
file 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 runningand executing it by running
To install it, I suggest you to move the folder to
/opt/
by runningto make the program executable by running
and to add a symbolic link to
/usr/bin/
by runningAfter that, you'll be able to run the program just by running
rokisim
.