As of version 17 (JavaCPP presets version 1.5.10), libLLVM.so
now depends on libtinfo.so.6
#1537
-
Hello Team! We've recently upgraded LLVM from version 16 to version 17, to find that it now depends on $ ldd ~/.javacpp/cache/llvm-17.0.6-1.5.10-linux-x86_64.jar/org/bytedeco/llvm/linux-x86_64/libLLVM-17.so
linux-vdso.so.1 (0x00007fffde7ab000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f36112ad000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f36112a8000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f36112a3000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f3611284000)
libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f3611251000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3611035000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3610f56000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3610f36000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3610d55000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3619785000) What's the purpose of the terminal info library here? Is it really necessary? Looking at the undefined (external) symbols in $ grep -F TINFO libLLVM-17.so.txt
U del_curterm@@NCURSES6_TINFO_5.0.19991023
U set_curterm@@NCURSES6_TINFO_5.0.19991023
U setupterm@@NCURSES6_TINFO_5.0.19991023
U tigetnum@@NCURSES6_TINFO_5.0.19991023 Yet, I can't seem to find where exactly they're used in the original code at https://github.com/llvm/llvm-project. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
No reason in particular. It just looks like recent versions of LLVM enable that option by default, whereas older versions did not. I've disabled it in commit 3af42f8. Please give it a try with the snapshots: http://bytedeco.org/builds/ |
Beta Was this translation helpful? Give feedback.
No reason in particular. It just looks like recent versions of LLVM enable that option by default, whereas older versions did not. I've disabled it in commit 3af42f8. Please give it a try with the snapshots: http://bytedeco.org/builds/