Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

libstdc++.so.6: version `GLIBCXX_3.4.20' not found

To upload the raw-reads > 2GB to SRA on Genebank, I installed aspera connect plug-in on ubuntu 16.04. But the plug-in did not pop up as indicated by the instruction on the genebank SRA portal.

I got this error on the terminal as I initializing the plug-in locally (~/.aspera/connect/bin/asperaconnect):

lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/x86_64-linux-gnu/libproxy.so.1) Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so 

I followed some of the threads, created a link to /usr/lib/libstdc++.so.6 But it did not address the problem, still showing the error message above. running strings /usr/lib/libstdc++.so.6 | grep GLIBCXX got this:

strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX 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_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_DEBUG_MESSAGE_LENGTH 

GLIBCXX_3.4.20 is in the list. I don't know how to make the plug-in recognize that.

Thank you, Xp

like image 425
Xp.L Avatar asked Jun 27 '17 06:06

Xp.L


People also ask

Where is Libstdc So 6?

so. 6 cannot be located. This happens even when the libstdc++ is installed and the file is available in /usr/local/lib/libstdc++.so. By default, the ds_agent looks for the required library in the /opt/ds_agent/lib folder.

What is Glibcxx?

glibc is the GNU C library . It's an implementation of the standard C library. Any program written in C will use the standard library for things like accessing files and the network, displaying messages to the user, working with processes and so on. It's a fundamental component of the operating system.


1 Answers

Here's a solution for this problem in Ubuntu 16.04

sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install gcc-4.9 sudo apt-get upgrade libstdc++6 

You can check if you get GLIBCXX desired version like this:

strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX 
like image 140
Krishan Kumar Mourya Avatar answered Sep 28 '22 04:09

Krishan Kumar Mourya