How do I install a .so file? - newbie
I downloaded freeverb.tar.gz which contains a plugin library (freeverb.so) for Audacity.
I extracted the .tar.gz file to my downloads folder but I don't know what to do next. There is no Readme file or any other info contained in the .tar.gz file, just freeverb.so
Can you advise me how to get the freeverb.so installed into the correct folder for Audacity to pick it up?
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