LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   update libraries (https://www.linuxquestions.org/questions/linux-newbie-8/update-libraries-4175522296/)

sryzdn 10-16-2014 04:18 AM

update libraries
 
Hi,

I need libstdc++.so.6(GLIBCXX_3.4.20)(64bit) to install a package on fedora 20. I have glibc-2.18-16.fc20.x86_64 package already installed. What should I do to resolve the dependencies of the final package I want to install? Thanks in advanvce for your help.

jdkaye 10-16-2014 07:21 AM

If I understand your situation correctly you need to install the libstdc++6 package. This package contains the libstdc++.so.6 file. This is the package name in Debian. The Fedora name may or may not be identical but it should be similar.
jdk

knudfl 10-16-2014 08:13 AM

Fedora :

# yum install libstdc++.x86_64

... Provides libstdc++-4.8.3-7.fc20 :
/usr/lib64/{ libstdc++.so.6 -> libstdc++.so.6.0.19 }

sryzdn 10-16-2014 12:44 PM

Quote:

Originally Posted by knudfl (Post 5254571)
Fedora :

# yum install libstdc++.x86_64

That's already installed.

Quote:

... Provides libstdc++-4.8.3-7.fc20 :
/usr/lib64/{ libstdc++.so.6 -> libstdc++.so.6.0.19 }

I need this said library to install codeblocks-libs and I receive the following error:

Code:

error: Failed dependencies:
        libstdc++.so.6(GLIBCXX_3.4.20)(64bit) is needed by codeblocks-libs-13.12-10.fc22.x86_64


suicidaleggroll 10-16-2014 12:48 PM

It looks like your version of libstdc++ isn't new enough. Probably because you're installing the Fedora 22 version of codeblocks on a Fedora 20 system.

knudfl 10-16-2014 01:08 PM

A Fedora 22 package : Not possible to install.

Getting codeblocks : # yum install codeblocks

If you really want version 13.12, you will have to build it
from the Fedora 21 source package :
$ rpmbuild --rebuild codeblocks-13.12-8.fc21.src.rpm
http://dl.fedoraproject.org/pub/fedo...8.fc21.src.rpm

-


All times are GMT -5. The time now is 07:27 AM.