LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 06: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 06:06 AM.
 
Old 11-28-2014, 06:22 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 8,505

Rep: Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434
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, 07:47 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
@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 07:50 AM.
 
1 members found this post helpful.
Old 11-28-2014, 11: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-29-2014, 12:22 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
← #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, 10: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, 05:15 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
← #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 05:17 AM.
 
1 members found this post helpful.
Old 11-30-2014, 08: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, 09:35 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
← #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, 10: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-04-2015, 12:59 AM   #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 01:03 AM.
 
  


Reply

Tags
devtoolset, gcc47-centos6


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:18 PM
[SOLVED] error while loading shared libraries: libacl.so.1: cannot open shared object file: fl0 Slackware 4 03-22-2013 04:32 AM
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 06:47 AM
error while loading shared libraries: libhid.so.0: cannot open shared object file: No misungs Linux - Software 4 06-10-2009 01:05 PM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 04:19 PM


All times are GMT -5. The time now is 09:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration