You mean like this?
root@dc596482c7f0:/barvinok# ldd pet/.libs/libpet.so | grep LLVM
libLLVM-14.so.1 => /usr/lib/llvm-14/lib/libLLVM-14.so.1 (0x00007750fa030000)
root@dc596482c7f0:/barvinok# nm -gD /usr/lib/llvm-14/lib/libLLVM-14.so.1 | grep isl_ | wc -l
5023
Tried exporting LIBRARY_PATH (didn't help). Not sure what can be done.
Also tried ubuntu 23.10 as a "quick fix" but that gives me compilation errors.
```
# ... snip ...
3.220 ar: `u' modifier ignored since `D' is the default (see `U')
11.76 CXXLD extract_interface
12.89 /usr/bin/ld: /usr/lib/llvm-16/lib/libclangSema.a(SemaRISCVVectorLookup.cpp.o): in function `clang::CreateRISCVIntrinsicManager(clang::Sema&)':
12.89 (.text._ZN5clang27CreateRISCVIntrinsicManagerERNS_4SemaE+0x262): undefined reference to `clang::RISCV::RVVIntrinsic::computeBuiltinTypes(llvm::ArrayRef<clang::RISCV::PrototypeDescriptor>, bool, bool, bool, unsigned int, clang::RISCV::PolicyScheme, clang::RISCV::Policy)'
12.89 /usr/bin/ld: (.text._ZN5clang27CreateRISCVIntrinsicManagerERNS_4SemaE+0x2be): undefined reference to `clang::RISCV::RVVIntrinsic::computeBuiltinTypes(llvm::ArrayRef<clang::RISCV::PrototypeDescriptor>, bool, bool, bool, unsigned int, clang::RISCV::PolicyScheme, clang::RISCV::Policy)'
# ... snip ...
```
I think I saw this error before, but don't remember how I solved it (maybe some -l flag <thinking emoji>), I'll try to get back to this later...
Best,
E