I also received this error, and I have OpenSUSE as my operating system. The base package of dotnet in OpenSUSE's library installer did not have the liblttng-ust.so.0 file (sudo zypper install dotnet-sdk-7.0). I ran a grep search looking for the liblttng-ust.so.0 file in /usr/share/dotnet/ (grep -r "liblttng-ust.so.0.0.0" /usr/share/dotnet), and there is no file. I used the snap library (sudo snap install dotnet-sdk --classic), and this version of dotnet had the liblttng-ust.so.0 file (which is just a link to the file liblttng-ust.so.0.0.0). It installs the file in the folder /snap/dotnet-sdk/198/lib/x86_64-linux-gnu/ . Check if it is installed correctly using the command: dotnet --info. You should see your main version of dotnet with a base path to the snap library (/snap/dotnet-sdk/198/sdk/7.0.202/). Once you have the liblttng-ust.so.0 file, I changed the /usr/lib/python3.10/site-packages/dotnetcore2/runtime.py file, function _gather_dependencies to look at the snap library; I added the line : search_path = r'/snap/dotnet-sdk/198/lib/x86_64-linux-gnu/*.so'. After that it worked! These steps should work for any linux operating system, good luck!