It’s hard to admit but I’m not able to install node.js
Despite the fact that the installation seems to be error free I’m still having a GLIBCXX problem
What I noticed is that it refuses to create in /usr/lib/arm-linux-gnueabihf/
a file libstdc++.so.6: version `GLIBCXX_3.4.20
or
/libc.so.6
pi@raspberrypi ~ $ node -v
node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
node: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.16' not found (required by node)
I’ve reinstalled it again, noerrors but also not results
pi@raspberrypi ~ $ wget http://node-arm.herokuapp.com/node_latest_armhf.deb
--2016-03-16 19:14:10-- http://node-arm.herokuapp.com/node_latest_armhf.deb
Resolving node-arm.herokuapp.com (node-arm.herokuapp.com)... 54.235.76.185
Connecting to node-arm.herokuapp.com (node-arm.herokuapp.com)|54.235.76.185|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5617566 (5.4M) [application/x-debian-package]
Saving to: `node_latest_armhf.deb.1'
100%[======================================>] 5,617,566 3.47M/s in 1.5s
2016-03-16 19:14:12 (3.47 MB/s) - `node_latest_armhf.deb.1' saved [5617566/5617566]
pi@raspberrypi ~ $ sudo dpkg -i node_latest_armhf.deb
(Reading database ... 59382 files and directories currently installed.)
Preparing to replace node 4.2.1-1 (using node_latest_armhf.deb) ...
Unpacking replacement node ...
Setting up node (4.2.1-1) ...
Processing triggers for man-db ...
pi@raspberrypi ~ $ node -v
node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
node: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.16' not found (required by node)
pi@raspberrypi ~ $ strings /usr/lib/arm-linux-gnueabihf/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
pi@raspberrypi ~/node.js $ node -v
node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
node: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.16' not found (required by node)
I also tried to fix broken packages
apt-get -y install libraspberrypi-dev
Installing package(s)
apt-get -y install libraspberrypi-do
and updated libraspberrypi0
apt-get -y install libraspberrypi0
Who can give me support to fix this?
installing node.js
Moderators: leecollings, remb0
Who is online
Users browsing this forum: No registered users and 1 guest