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: -
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:
Status: Open Package: v8js (PECL)
PHP Version: 7.3.7 OS: Linux Ubuntu 16.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or 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

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Mar 03 21:01:24 2021 UTC