LinuxQuestions.org
Help answer threads with 0 replies.
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-07-2010, 10:52 PM   #1
summit
Member
 
Registered: Nov 2010
Posts: 53

Rep: Reputation: 0
Question uninstalling/removing libstdc++.so.6


Hi
I have to installing simulation software. I am using Fedora13. Fedora13 has inbuilt libstdc++.so.6. But my simulation toolkit requires libstdc++.so.5. Can anybody tell me how can I remove libstdc++.so.6 and

how can I install libstdc++.so.5?


Thanks in advance,

Summit.

Last edited by summit; 11-07-2010 at 10:55 PM.
 
Old 11-07-2010, 11:46 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Please don't try to remove libstdc++.so.6, just install the compat-libstdc++-33 package

cheers
 
Old 11-09-2010, 09:04 AM   #3
summit
Member
 
Registered: Nov 2010
Posts: 53

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by kbp View Post
Please don't try to remove libstdc++.so.6, just install the compat-libstdc++-33 package

cheers

thanks for reply

but it starts messing both libstdc++.so.6 and libstdc.so.5

what will I do?
pls tell me
 
Old 11-09-2010, 04:53 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
Quote:
But my simulation toolkit requires libstdc++.so.5
WHAT software requires this ??? It's name please.

and "compat-libstdc" should install the old version alongside the current
Code:
yum provides */libstdc++.so.5
that yum command will tell you what to install

Last edited by John VV; 11-09-2010 at 06:01 PM.
 
Old 11-09-2010, 05:52 PM   #5
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Quote:
but it starts messing both libstdc++.so.6 and libstdc.so.5
.. I've never had this happen when install 'compat-libstdc++..' and I'm pretty sure it's not possible using rpm or yum, can you explain exactly what you're doing ?
 
Old 11-10-2010, 05:14 AM   #6
summit
Member
 
Registered: Nov 2010
Posts: 53

Original Poster
Rep: Reputation: 0
Hi
Thanks for reply
I am using Geant4.
To do analysis, I have to install JAIDA and AIDAJNI which require libstdc++.so.5

Thanks in advance,

Summit
 
Old 11-10-2010, 02:07 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
and did running the command
Code:
yum provides */libstdc++.so.5
tell you to install compat-libstdc

and did you run
Code:
yum install compat-libstdc
you also DO NOT try to remove "libstdc++.so.6"
if you do you will "fubar" fedora 13 !


also JAIDA 3.3.0 is a bit old ( 2007)
it might never work on fedora 13
i also would expect that once the libstdc issue is solved that there will be a java and jvm problem ( fedora 13's will be way too new)
i would use a RHEL5.5 or CentOS 5.5 install to run that software
and what version of AIDAJNI
ftp://ftp.slac.stanford.edu/software/freehep/AIDAJNI/
the newest "3.2.6" is from 2007

Last edited by John VV; 11-10-2010 at 02:14 PM.
 
Old 11-13-2010, 01:47 AM   #8
summit
Member
 
Registered: Nov 2010
Posts: 53

Original Poster
Rep: Reputation: 0
hello

I tried many versions

but firstly the warning is
/usr/bin/ld: warning: libstdc++.so.5, needed by
/u/ey/perl/AIDA/AIDA2/JAIDA/AIDAJANI/AIDAJNI-3.2.3/lib/Linux-g++/libAIDAJNI.so,
may conflict with libstdc++.so.6

after that

the errors are

*** glibc detected *** ../bin/Linux-g++/TestEm7: free(): invalid
pointer: 0x08c77b18 *** ======= Backtrace: =========
/lib/libc.so.6(+0xa96fe1)[0x2296fe1]
/usr/lib/libstdc++.so.6(_ZdlPv+0x22)[0x64d94b2]
/usr/lib/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1e)[0x64b857e]


etc. and etc...

can u tell me where i m doing mistake???

thanks in advance.
 
Old 11-13-2010, 02:33 AM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
Quote:
/usr/bin/ld: warning: libstdc++.so.5, needed by...
?? did you install libstdc++.so.5 ???? in the compat-libstdc ???
-
my output of "yum provides */libstdc++.so.5" -- for Cent5.5 but will be the seam fot fedora 13
Code:
 yum provides */libstdc++.so.5
Loaded plugins: downloadonly, fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: hpc.arc.georgetown.edu
 * base: mirror.anl.gov
 * centosplus: mirror.anl.gov
 * contrib: mirror.steadfast.net
 * extras: mirror.team-cymru.org
 * rpmforge: fr2.rpmfind.net
 * updates: mirrors.cmich.edu
centosplus/filelists_db                                  | 1.1 MB     00:01     
contrib/filelists                                        |  197 B     00:00     
extras/filelists_db                                      | 228 kB     00:00     
rpmforge/filelists                                       | 3.1 MB     00:06     
updates/filelists_db                                     | 3.5 MB     00:03     
compat-libstdc++-33-3.2.3-61.x86_64 : Compatibility standard C++ libraries
Repo        : base
Matched from:
Filename    : /usr/lib64/libstdc++.so.5
that tels me that the rpm i would need to install is "compat-libstdc++-33"
Code:
yum install compat-libstdc++-33
and that will solve that one problem



but fedora 13 might just be way too new to run these two old ( from 2007) programs

geant4
http://geant4.cern.ch/
most if not ALL code from cern is built for RHEL ( a friend of mine is a physicist there )
I would install CentOS 5.5 then these programs

Last edited by John VV; 11-13-2010 at 02:51 AM.
 
Old 11-16-2010, 07:56 PM   #10
summit
Member
 
Registered: Nov 2010
Posts: 53

Original Poster
Rep: Reputation: 0
thanks for reply

I install Scientific Linux
now i have a small prob
i set in .bashrc
export JDK_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/

when i m opening the terminal there is one error

"The libjvm.so file seem to be missing, make sure JDK_HOME has been set properly"

pls tell me...how can I fix it?

Thanks in advance,
Summit
 
Old 11-16-2010, 09:08 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
add the line to the /etc/profile

Code:
JDK_HOME="/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0"
export JDK_HOME
and leave the / off the end of the PATH line

then reboot
 
Old 11-23-2010, 11:51 AM   #12
summit
Member
 
Registered: Nov 2010
Posts: 53

Original Poster
Rep: Reputation: 0
Thanks for reply
i set it as
export JDK_HOME=/usr/lib/jvm

it working good
but there is some prob in running the example
file is attached herewith.

Can you suggest me how can i fix this error?

Thanks,

Summit
Attached Files
File Type: log hs_err_pid1406.log (25.7 KB, 7 views)
 
Old 11-23-2010, 01:20 PM   #13
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
how did you install java ?
did you use the rpm in the repo and using "yum"? or some other way ?

Last edited by John VV; 11-23-2010 at 01:21 PM.
 
Old 11-23-2010, 07:40 PM   #14
summit
Member
 
Registered: Nov 2010
Posts: 53

Original Poster
Rep: Reputation: 0
Thanks for reply

Sir,

I have not installed java. It is inbuilt in Scientific Linux.
If required can you tell me what should I do to install java?

I am sending you the screen shot of usr/lib/jvm.



thanks in advance,
Summit
Attached Thumbnails
Click image for larger version

Name:	Screenshot1.png
Views:	8
Size:	94.7 KB
ID:	5292   Click image for larger version

Name:	Screenshot2.png
Views:	7
Size:	71.8 KB
ID:	5293  
 
Old 11-23-2010, 11:00 PM   #15
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
so this is an error while tiring to run Aidajni
i would ask them on there web site
but seeing as it is 3 years old ???

http://java.freehep.org/jaida/
the mailinglist or the forum
but seeing as it looks like it is a unsupported project

http://java.freehep.org/jaida/getting-started.html
did you set the "JAIDA_HOME environment variable" ? ( i am reading the page)
then run the setup script
 
  


Reply


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
removing libstdc (to check RPM dependencies) anadem Linux - Software 6 11-25-2008 07:37 PM
Stripping, removing, uninstalling - how to? midiox Linux From Scratch 3 05-01-2006 06:46 PM
uninstalling/removing jaakkop Linux - Software 2 11-02-2004 11:38 AM
Removing/Uninstalling Programs streetbmx Linux - Newbie 4 05-09-2003 02:39 PM
Removing/uninstalling programs Katrix Linux - Software 1 10-07-2001 09:15 AM


All times are GMT -5. The time now is 02:41 PM.

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