LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-28-2014, 05:04 AM   #1
Sonia Bargn
LQ Newbie
 
Registered: Oct 2014
Location: Zanjan
Posts: 24

Rep: Reputation: Disabled
error while loading shared libraries: libquadmath.so.0


Dear all;
I run an execute file named "A" gets it's input from a text file "B.inp"
but I face this error:
A < B.inp
: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory

I've downloaded libquadmath and when I want to install it ,the other error said I don't have libgc package!!! but I have libgc!! is it because of existing two different repository that it can't share their information?
my operating system is Centos6;
what shall I do?
Thanks for your attention

Last edited by Sonia Bargn; 11-28-2014 at 05:06 AM.
 
Old 11-28-2014, 05:22 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
would be nice to give detailed descriptions, and also please post the error messages you've got. Probably there is a version mismatch problem, but I can only guess....
 
1 members found this post helpful.
Old 11-28-2014, 06:47 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@Sonia Bargn.

libquadmath.so.0 is provided by gcc version -4.6 -4.7 -4.8 .

Later versions of gcc for CentOS 6 are provided by "devtoolset" from CERN
http://linux.web.cern.ch/linux/devtoolset/
→ →
# wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoo...evtoolset.repo
# yum install devtoolset-1.1
Or :
# yum install devtoolset-2


-

Last edited by knudfl; 11-28-2014 at 06:50 AM.
 
1 members found this post helpful.
Old 11-28-2014, 10:56 PM   #4
Sonia Bargn
LQ Newbie
 
Registered: Oct 2014
Location: Zanjan
Posts: 24

Original Poster
Rep: Reputation: Disabled
Dear knudfl;
Thanks for your comment;
I did what you said but I face this error:

warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID 1d1e034b: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern


GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern

what do you think about it?
 
Old 11-28-2014, 11:22 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #4 .

Usually no problems by installing the devtoolset´s on CentOS.

Which command is it that leads to the error ...
".. Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern"
(An error output like you show above really tells very little
without the connected command.)

Please try again. » # « means of course the root prompt :
1) $ su <enter your root password>
2) # wget -O /etc/yum.repos.d/slc6-devtoolset.repo <url>
3) # yum install devtoolset-2
 
1 members found this post helpful.
Old 11-29-2014, 09:28 PM   #6
Sonia Bargn
LQ Newbie
 
Registered: Oct 2014
Location: Zanjan
Posts: 24

Original Poster
Rep: Reputation: Disabled
Dear knudfl
Thanks again;
I tray again for both devtoolset-2 and devtoolset-1.1 , but again there is this error:

warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 1d1e034b: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern
GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern

I think I face a basic problem, what is your idea? it's so important to me to solve this problem
 
Old 11-30-2014, 04:15 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #6 .

Well, then you can do :
# yum install devtoolset-1.1 --nogpgcheck

Or, you can simply edit one line in /etc/yum.repos.d/slc6-devtoolset.repo
.. from gpgcheck=1 to gpgcheck=0
Code:
[slc6-devtoolset]
name=Scientific Linux CERN 6 (SLC6) - Devtoolset addons
baseurl=http://linuxsoft.cern.ch/cern/devtoolset/slc6X/$basearch/yum/devtoolset/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern
gpgcheck=0
enabled=1
protect=1

Last edited by knudfl; 11-30-2014 at 04:17 AM.
 
1 members found this post helpful.
Old 11-30-2014, 07:38 AM   #8
Sonia Bargn
LQ Newbie
 
Registered: Oct 2014
Location: Zanjan
Posts: 24

Original Poster
Rep: Reputation: Disabled
Dear Knudfi

I did what you said and fortunately devtoolset-1.1 installed,I changed gpgcheck to 1 as well, but ... error that I entitled in this thread ... exist !!!
can I edit other line in /etc/yum.repos.d/slc6-devtoolset.repo
.. from enabled=0 to enabled=1 ??
 
Old 11-30-2014, 08:35 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #8 .
Quote:
I changed gpgcheck to 1 as well
Why would you do that ? And which line number is it about ?


Quote:
can I edit other line in /etc/yum.repos.d/slc6-devtoolset.repo
.. from enabled=0 to enabled=1 ??
The lines with "enable=0" are for software, that you don't need :
"enable=0" is there for a reason.
So why would you do that ? ?

-
 
Old 11-30-2014, 09:08 AM   #10
Sonia Bargn
LQ Newbie
 
Registered: Oct 2014
Location: Zanjan
Posts: 24

Original Poster
Rep: Reputation: Disabled
Dear knudfl
I'm so sorry ,I made a mistake. now I just changed gpgcheck to 0 in all part
 
Old 04-03-2015, 11:59 PM   #11
Sonia Bargn
LQ Newbie
 
Registered: Oct 2014
Location: Zanjan
Posts: 24

Original Poster
Rep: Reputation: Disabled
Dear all
After installing gcc,f77,g77,c++,gfortran this problem was solved.there was no need to install libquadmath.

Last edited by Sonia Bargn; 04-04-2015 at 12:03 AM.
 
  


Reply

Tags
devtoolset, gcc47-centos6



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: mahiba Linux - Hardware 2 05-10-2013 05:18 PM
[SOLVED] error while loading shared libraries: libacl.so.1: cannot open shared object file: fl0 Slackware 4 03-22-2013 03:32 AM
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
error while loading shared libraries: libhid.so.0: cannot open shared object file: No misungs Linux - Software 4 06-10-2009 12:05 PM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration