node-chakracore icon indicating copy to clipboard operation
node-chakracore copied to clipboard

node-chakracore fails on Travis CI's trusty environment

Open kfarnung opened this issue 7 years ago • 1 comments

  • Version: v8.11.1/v10.0.0
  • Platform: Ubuntu Linux 14.04.5
  • Subsystem:

While trying to use Travis CI following the NVS documentation I ran into an issue where node-chakracore appears to be missing the requisite version of GLIBCXX:

$ node --version
node: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)

log.txt

Since releases are built on 14.04, it would be ideal if they didn't require any extra dependencies to run.

The workaround is to add some packages to the CI config, but it seems like we should use the included version, if possible:

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - libstdc++-4.9-dev

kfarnung avatar Apr 30 '18 20:04 kfarnung

I'm seeing the same issue on my own VM:

kfarnung@kfarnung2-ub1404:~$ nvs use chakracore
PATH += ~/.nvs/chakracore/10.0.0/x64/bin
kfarnung@kfarnung2-ub1404:~$ node --version
node: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
kfarnung@kfarnung2-ub1404:~$ which node
/home/kfarnung/.nvs/chakracore/10.0.0/x64/bin/node
kfarnung@kfarnung2-ub1404:~$ ldd $(which node)
/home/kfarnung/.nvs/chakracore/10.0.0/x64/bin/node: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/kfarnung/.nvs/chakracore/10.0.0/x64/bin/node)
	linux-vdso.so.1 =>  (0x00007ffdf9fc9000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f513e095000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f513dd8f000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f513db8b000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f513d983000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f513d67f000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f513d461000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f513d098000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f513e2ab000)
kfarnung@kfarnung2-ub1404:~$ strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep LIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_DEBUG_MESSAGE_LENGTH

kfarnung avatar Apr 30 '18 20:04 kfarnung