Hi,
I am trying to use a library in linux that depends on the 4.5 static version of v8, but I built the 5.0 version as I saw it has all the necessary .lib/.a files are also built in this version, and it has less bugs. However I get some linking error that has to do with icui18n, that looks easy but that I cannot manage to solve.
I get a ton of errors like the following:
/usr/local/lib/v8/out/x64.release/obj.target/icui18n/third_party/icu/source/i18n/collationtailoring.o:(.data.rel.ro._ZTIN6icu_5418CollationTailoringE+0x10): undefined reference to `typeinfo for icu_54::SharedObject'
That all have to do with icui18n, and particularly with the icu_54 namespace, resulting in:
collect2: error: ld returned 1 exit status
Makefile:15: recipe for target 'lateximage' failed
This is the build command:
g++ -std=c++14 lateximage.o latex.o -o lateximage -L/usr/local/lib/v8/out/x64.release/obj.target/tools/gyp -L/usr/local/lib/v8/out/x64.release/obj.target/third_party/icu -L/usr/local/lib/wkhtmltox/lib -L/usr/local/lib/boost_1_63_0/stage/lib -lboost_system -lboost_filesystem -lwkhtmltox -lv8_base -lv8_libbase -lv8_external_snapshot -lv8_nosnapshot -lv8_libplatform -licuuc -licui18n -licudata -lrt -ldl -pthread
Any hints?
Thank you in advance