Yes. I use Kaldi, a ASR framework, and link the shared libs from the project. However, when I put the lib directory into LD_LIBRARY_PATH, the error about the Kaldi has gone, but still it complains about the ATen library.
Here is my project setup.py:

  
      github.com
  
  
    jinserk/pytorch-asr/blob/master/asr/kaldi/setup.py 20
#!python

from pathlib import Path
import subprocess as sp
from setuptools import setup

from torch.utils.cpp_extension import BuildExtension, CppExtension

from _path import KALDI_ROOT


# making graph
print("## download & prepare model...")
sp.run([f"scripts/mkgraph.sh {KALDI_ROOT}"], shell=True, check=True)

# building latget_lib
sources = ['src/latgen_lib.cc']

include_dirs = [
    KALDI_ROOT + "/src",


  This file has been truncated. show original