Undefined reference to torchaudio::sox_io::load_audio_file

I need to port Python code (simple 1D CNN that process audio records) to C++. So it is evident that I need to load audio records to torch::Tensor in C++ like it was done In Python (with torchaudio.load()). So I have build torchaudio.so from sources and link my C++ app to it. But at a compile time error appears ‘undefined reference to torchaudio::sox_io::load_audio_file…’. So the question is where implementation of torchaudio::sox_io::load_audio_file resides? Please, help me

For those, who will search the same: GitHub - pi-null-mezon/torchaudio_cpp: How to make torchadio work in your C++ application