php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78251 libv8.so: undefined symbol: _ZN6icu_648ByteSink15GetAppendBufferEiiPciPi
Submitted: 2019-07-04 14:38 UTC Modified: 2021-12-01 16:16 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: invibrations at gmail dot com Assigned: cmb (profile)
Status: Not a bug Package: PECL (PECL)
PHP Version: 7.3.7 OS: Linux Ubuntu 16.04
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: invibrations at gmail dot com
New email:
PHP Version: OS:

 

 [2019-07-04 14:38 UTC] invibrations at gmail dot com
Description:
------------
Build-ed V8 (7.5.214) version and installed v8js (2.1.1). for xampp using the following link :
https://gist.github.com/normonds/726314d616afd1ca7728878154c8136c

Added the extension to php.ini and have the following in 
error.log: 

(/opt/v8/lib/libv8.so: undefined symbol: _ZN6icu_648ByteSink15GetAppendBufferEiiPciPi), /opt/lampp/lib/php/extensions/no-debug-non-zts-20180731/v8js.so.so (/opt/lampp/lib/php/extensions/no-debug-non-zts-20180731/v8js.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Test script:
---------------
I checked whether my v8js.so is linked to libv8.so and it seems it is linked
 -> ldd /opt/v8/lib/libv8.so
linux-vdso.so.1 =>  (0x00007ffea95df000)
	libicui18n.so => /opt/v8/lib/libicui18n.so (0x00007f6decfe3000)
	libicuuc.so => /opt/v8/lib/libicuuc.so (0x00007f6dedff9000)
	libv8_libbase.so => /opt/v8/lib/libv8_libbase.so (0x00007f6dedfda000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6decdc6000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6decbbe000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6dec7db000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6dec4d2000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6dec108000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f6dedf86000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6debef0000)

-> ldd /opt/lampp/lib/php/extensions/no-debug-non-zts-20180731/v8js.so
linux-vdso.so.1 =>  (0x00007ffc83554000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007facabaa6000)
	libv8_libplatform.so => /opt/v8/lib/libv8_libplatform.so (0x00007facac2a8000)
	libv8.so => /opt/v8/lib/libv8.so (0x00007facaad99000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007facaab81000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007facaa7b7000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007facaa4ae000)
	/lib64/ld-linux-x86-64.so.2 (0x00007facac0b0000)
	libv8_libbase.so => /opt/v8/lib/libv8_libbase.so (0x00007facac287000)
	libicui18n.so => /opt/v8/lib/libicui18n.so (0x00007facaa218000)
	libicuuc.so => /opt/v8/lib/libicuuc.so (0x00007facac0d6000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007faca9ffa000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007faca9df2000)


Expected result:
----------------
I expected it to work

Actual result:
--------------
PHP Startup: Unable to load dynamic library 'v8js.so' (tried: /opt/lampp/lib/php/extensions/no-debug-non-zts-20180731/v8js.so (/opt/v8/lib/libv8.so: undefined symbol: _ZN6icu_648ByteSink15GetAppendBufferEiiPciPi), /opt/lampp/lib/php/extensions/no-debug-non-zts-20180731/v8js.so.so (/opt/lampp/lib/php/extensions/no-debug-non-zts-20180731/v8js.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-12-01 16:16 UTC] cmb@php.net
-Status: Open +Status: Not a bug -Package: v8js +Package: PECL -Assigned To: +Assigned To: cmb
 [2021-12-01 16:16 UTC] cmb@php.net
If this is still an issue for you with the latest v8js (2.1.2),
please report it in their bugtracker[1].

[1] <https://github.com/preillyme/v8js/issues>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC