JY-Zhou / FreePSI

An alignment-free approach to estimating exon-inclusion ratios without a reference transcriptome
GNU General Public License v3.0
10 stars 2 forks source link

lib64/libstdc++.so.6 error when testing example data #5

Open giuseppedelnapalle opened 5 years ago

giuseppedelnapalle commented 5 years ago

Hi,

I got an error when running the script _runFreePSI.sh and I want to get some help. The error messages were shown as "

../bin/freePSI: /lib64/libstdc++.so.6: version CXXABI_1.3.8' not found (required by ../bin/freePSI) ../bin/freePSI: /lib64/libstdc++.so.6: versionGLIBCXX_3.4.20' not found (required by ../bin/freePSI) ../bin/freePSI: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ../bin/freePSI) ".

It seems this was an issue of the gcc. The default version of gcc was 4.8.5, so I installed gcc-6.3 using rpm and created a link to gcc-6.3 with the following commands: "

update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc63 20 update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++63 20 update-alternatives --config gcc update-alternatives --config g++ ".

However, I met the same error. Would you tell me how I can update the version of libstdc++.so.6 which freePSI would call?

Software infomaiton: OS: CentOS 7 The versions of packages and libraries have been verified to fulfil the requirement of FreePSI according to the installation instruction.

Many thanks.

JY-Zhou commented 5 years ago

It seems like an issue that the updated libstdc++.so.6 is not added in your LD_LIBRARY_PATH.

First, please check GLIBCXX_3.4.21 is included in the updated libstdc++.so.6 by the command posted here. Differently, the updated libstdc++.so.6 file is in the lib64 folder where you installed the newest GCC compiler.

Then please try this solution to include the newest file to the path.