LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   dependency problem - need help please (https://www.linuxquestions.org/questions/linux-software-2/dependency-problem-need-help-please-98167/)

lpriyamb 09-29-2003 06:58 AM

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.

lpriyamb 09-29-2003 11:13 PM

I am very disappointed that I am not getting any reply :( please help me...

ehdwuld 09-30-2003 01:09 AM

what distribution do you have
and where was the program expecting the .so file to be?

lpriyamb 09-30-2003 02:07 AM

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?

ehdwuld 09-30-2003 02:22 AM

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


lpriyamb 09-30-2003 02:39 AM

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

ehdwuld 09-30-2003 02:42 AM

leave off the .i386.rpm
rpm -e bos.root.etc-0.2.0-0

lpriyamb 09-30-2003 02:48 AM

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

ehdwuld 09-30-2003 02:56 AM

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

lpriyamb 10-09-2003 03:45 AM

yes, i did a fresh installation again!! :( then installed the higher version on CommonC++ version 1.9x. It worked!! thanks anyways. :)


All times are GMT -5. The time now is 08:45 AM.