LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-29-2003, 06:58 AM   #1
lpriyamb
Member
 
Registered: Feb 2003
Posts: 65

Rep: Reputation: 15
dependency problem - need help please


hello,

I wanted to install CommonC++-1.0.1-1.i386.rpm . It had asked for a dependency 'libstdc++-libc6.1-2.so.3'. But i have

libstdc++-libc6.1-1.so.2, libstdc++-libc6.2-2.a.3, libstdc++-libc6.2-2.so.3 in my /usr/lib directory. It's redhat 9.0.

I downloaded this dependency and followed the steps

1. gunzip libstdc++-libc6.1-2.so.3.gz
2. cp libstdc++-libc6.1-2.so.3 /usr/local/lib (I also copied to /usr/lib)
3. chmod a+rx /usr/local/lib/libstdc++-libc6.1-2.so.3 (did the same to /usr/lib/libstdc++-libc6.1-2.so.3)
4. ldconfig
5. ln -s /usr/lib/libstdc++-libc6.1-1.so.2 libstdc++-libc6.1-2.so.3

But still the CommonC++ package is asking for the dependency. Did i forget any step?

Please help me as soon as possible.
 
Old 09-29-2003, 11:13 PM   #2
lpriyamb
Member
 
Registered: Feb 2003
Posts: 65

Original Poster
Rep: Reputation: 15
I am very disappointed that I am not getting any reply please help me...
 
Old 09-30-2003, 01:09 AM   #3
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
what distribution do you have
and where was the program expecting the .so file to be?
 
Old 09-30-2003, 02:07 AM   #4
lpriyamb
Member
 
Registered: Feb 2003
Posts: 65

Original Poster
Rep: Reputation: 15
I have Redhat 9.0 and the package is expecting the .so file in /usr/lib (not very sure). Also, i did a mistake now. The dependency it had asked for was provided by bos.root.etc-0.2.0-0.i386.rpm and
bos.usr.lib-0.2.0-0.i386.rpm. So, i installed that rpm. It had some conflict but i gave --force command... i shouldn't have done this. Now, my rpm command is not working and gnorpm too! How to recover the rpm and uninstall the bos.root and bos.usr.lib packages?
 
Old 09-30-2003, 02:22 AM   #5
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
rpm -e bos.root.etc-0.2.0 bos.usr.lib-0.2.0-0

then find the file u put in

move it some where safe

reinstal the bos rpms see what the conflict is

post it if ya can

please don't use

--force or --nodeps

makes stuff crash
find out what it needs and why its conflicted


EDIT
I had the same problems with cdrecord-devel rpm from up2date
conflicted with "cdtools-devel " I had installed
rpm -e cdtools-devel
rpm -Uvh cdrecord-devel
rpm -Uvh cdtools-devel

moved it out
put it back


Last edited by ehdwuld; 09-30-2003 at 02:26 AM.
 
Old 09-30-2003, 02:39 AM   #6
lpriyamb
Member
 
Registered: Feb 2003
Posts: 65

Original Poster
Rep: Reputation: 15
No! I am unable to uninstall the bos packages. It gives error

#rpm -e bos.root.etc-0.2.0-0.i386.rpm
rpm: relocation error: rpm: undefined symbol: poptAliasOptions
 
Old 09-30-2003, 02:42 AM   #7
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
leave off the .i386.rpm
rpm -e bos.root.etc-0.2.0-0
 
Old 09-30-2003, 02:48 AM   #8
lpriyamb
Member
 
Registered: Feb 2003
Posts: 65

Original Poster
Rep: Reputation: 15
No, the problem is it is not recogonising the rpm command itself!!
The same error follows:

#rpm -e bos.root.etc-0.2.0-0
rpm: relocation error: rpm: undefined symbol: poptAliasOptions
 
Old 09-30-2003, 02:56 AM   #9
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
oh
run the command in the directory where the rpm is

I think?????

hope it aint broken


OH crap!!
just reread the post
dude
sorry but that's beyond me

Last edited by ehdwuld; 09-30-2003 at 03:00 AM.
 
Old 10-09-2003, 03:45 AM   #10
lpriyamb
Member
 
Registered: Feb 2003
Posts: 65

Original Poster
Rep: Reputation: 15
yes, i did a fresh installation again!! then installed the higher version on CommonC++ version 1.9x. It worked!! thanks anyways.
 
  


Reply



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
dependency problem black_man Debian 3 12-04-2005 07:55 PM
dependency problem canyon289 Linux - Software 3 11-23-2004 01:03 AM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 09:03 PM
rpm dependency problem horence Linux - Software 1 02-24-2004 12:20 PM
Dependency problem. glenn69 Linux - Newbie 1 09-01-2003 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:59 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
Open Source Consulting | Domain Registration