lumo icon indicating copy to clipboard operation
lumo copied to clipboard

Error with 1.9.0-alpha - GLIBCXX_3.4.20 not found

Open arichiardi opened this issue 7 years ago • 5 comments

Wanted to open an issue for a problem with 1.9.0-alpha, this is what I get:

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

I am installing it from the github releases page:

curl -fsSJLo lumo.zip https://github.com/anmonteiro/lumo/releases/download/1.9.0-alpha/lumo_linux64.zip
unzip -vp lumo.zip lumo > "$HOME/bin/lumo"
chmod +x "$HOME/bin/lumo"

This does not happen with 1.8.0. I have never seen this error before and I was wondering if somebody is more familiar and has suggestions.

arichiardi avatar Jun 03 '18 20:06 arichiardi

Ah yeah, I might've bumped the glibc requirement

anmonteiro avatar Jun 03 '18 20:06 anmonteiro

Or Node.js did

anmonteiro avatar Jun 03 '18 20:06 anmonteiro

Ok so probably the node 8.10.0 version should work actually, I am running on Travis

arichiardi avatar Jun 04 '18 17:06 arichiardi

I had this issue on a fresh AWS Ami. This is how things eventually worked for me with the use of nvm:

Install nvm according to https://github.com/creationix/nvm#install-script

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
source ~/.bashrc
nvm install v9
npm install -g lumo-cljs

Everything fine so far, however:

$ lumo
/home/ec2-user/.nvm/versions/node/v9.11.2/lib/node_modules/lumo-cljs/bin/lumo: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/ec2-user/.nvm/versions/node/v9.11.2/lib/node_modules/lumo-cljs/bin/lumo)

Some Googling and Stackoverflowing helped me to try and do this:

sudo yum search libstdc++
sudo yum install -y libstdc++64.x86_64

Guess what:

$ lumo
Lumo 1.9.0-alpha
ClojureScript 1.10.238
Node.js v9.10.0
 Docs: (doc function-name-here)
       (find-doc "part-of-name-here")
 Source: (source function-name-here)
 Exit: Control+D or :cljs/quit or exit

cljs.user=>

jeroenvandijk avatar Sep 05 '18 15:09 jeroenvandijk

This should be part of the FAQ in the wiki :wink:

arichiardi avatar Sep 05 '18 16:09 arichiardi