help: libv8.so: undefined symbol: _ZTVN6icu_5413UnicodeStringE

101 views
Skip to first unread message

David Xanatos

unread,
Mar 15, 2015, 7:03:40 AM3/15/15
to v8-u...@googlegroups.com
Hi,

I builld V8 on ubuntu 12.04.5 LTS and when i link it against my project and try to start it i get libv8.so: undefined symbol: _ZTVN6icu_5413UnicodeStringE

whats wrong?

David Xanatos

unread,
Mar 15, 2015, 7:11:08 AM3/15/15
to v8-u...@googlegroups.com
PS: same issue on ubuntu 14 :(
my project unclused also other libicu versions its a QT project, can that be the problem? on windows and max no problems

David Xanatos

unread,
Mar 15, 2015, 10:04:22 AM3/15/15
to v8-u...@googlegroups.com
I found the issue, the v8 was linked against the system libicu and not the one it compiled itself, to solve the issue i needed to use
chrpath -r \$ORIGIN ./libv8.so

./Final/libv8.so: RUNPATH=$ORIGIN/lib.target/
./Final/libv8.so: new RUNPATH: $ORIGIN


for whatever reason the v8 lib is linked to expect the own libs in a sub dir that was missing and than it defaulted for the os libs
Reply all
Reply to author
Forward
0 new messages