Sunday, April 29, 2018

Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found

error:

root@DESKTOP-OLCMPRJ:/mnt/d/setup/download/0xbtcminer-linux_2.10.2$ ./0xbitcoin-miner
pkg/prelude/bootstrap.js:1172
      throw error;
      ^
Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /mnt/d/setup/download/0xbtcminer-linux_2.10.2/hybridminer.node)
    at Object.Module._extensions..node (module.js:668:18)
    at Module.load (module.js:558:32)
    at tryModuleLoad (module.js:501:12)
    at Function.Module._load (module.js:493:3)
    at Module.require (module.js:583:17)
    at Module.require (pkg/prelude/bootstrap.js:1153:31)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/snapshot/0xbitcoin-gpuminer/0xbitcoinminer-accel.js:0:0)
    at Module._compile (pkg/prelude/bootstrap.js:1243:22)
    at Object.Module._extensions..js (module.js:650:10)

How:
Ubuntu:
wget http://ftp.de.debian.org/debian/pool/main/g/gcc-8/libstdc++6_8-20180425-1_amd64.debar -x libstdc++6_8-20180425-1_amd64.deb && tar xvJf data.tar.xzsudo cp usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25 /usr/lib
sudo mv /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.baksudo ln /usr/lib/libstdc++.so.6.0.25 /usr/lib/x86_64-linux-gnu/libstdc++.so.6


Last
Thanks

No comments: