Problem Description
v8 build on Linux i.e., fedora is as simple procedure as depicted in our previous v8 build on linux article. However, clang++ redistributable that comes with v8 project depends on libtinfo.so.5
(confirmed Sept 2) So when clang++ command is called by v8 build system it hits following error,
error clang++: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
This github gist contains detailed error.
Solution
Using fedora’s dnf
package management system command we can find what can provide us this shared object on fedora,
$ dnf provides */libtinfo.so.5
Fedora 24 - x86_64 - Updates 2.0 MB/s | 13 MB 00:06
Fedora 24-x86_64 2.9 MB/s | 47 MB 00:16
Last metadata expiration check: 0:00:21 ago on Mon Aug 15 17:29:47 2016.
ncurses-compat-libs-6.0-6.20160709.fc24.i686 : Ncurses compatibility libraries
Repo : updates
ncurses-compat-libs-6.0-6.20160709.fc24.x86_64 : Ncurses compatibility libraries
Repo : updates
ncurses-compat-libs-6.0-5.20160116.fc24.i686 : Ncurses compatibility libraries
Repo : fedora
ncurses-compat-libs-6.0-5.20160116.fc24.x86_64 : Ncurses compatibility libraries
Repo : fedora
We found the package ncurses-compat-libs
which provides this we apply following to install,
$ sudo dnf -y install ncurses-compat-libs
Then, we build v8 again and now everything goes cool just like before!
One thought on “v8 build libtinfo.so library issue on Fedora 24”