lv2soname command not found

In this troubleshooting guide we learn how to fix lv2soname command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

lv2soname: command not found

or when using sudo you get the following error message

sudo: lv2soname: command not found

Solutions to lv2soname: command not found

How To Fix lv2soname: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu lv2soname is provided by lv2-c++-tools package.

lv2-c++-tools is:

These are some tools and libraries that may come in handy when writing LV2 plugins in C++.

The following static libraries are provided:

  • liblv2-plugin is a C++ library that you can use to write LV2 plugins by inheriting from a plugin base class and overriding a small number of functions.
  • liblv2-gui is a C++ library that you can use to write LV2 plugin GUIs.

This package also contains the binaries lv2peg and lv2soname:

  • lv2peg is a program that generates C header files from Turtle files containing LV2 plugin data.
  • lv2soname is a program that generate the RDF triples needed to tell hosts that the library with that soname must never be unloaded even after your plugin GUI library has been unloaded.

This package provides runtime objects and development files.

To fix this problem, we can install more using the command below.

sudo apt-get -y install lv2-c++-tools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install lv2-c++-tools.

sudo apt -y install lv2-c++-tools

Or if you have aptitude installed you can use the following command.

sudo aptitude install lv2-c++-tools

Summary

In this tutorial we learn how to fix lv2soname command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.