Tony Alfrey wrote: % On Thursday 20 December 2001 01:32 am,[EMAIL PROTECTED] wrote: % <snip> % > % > Refresh my memory, what was the problem you were trying to solve? If % > memory serves, you were trying to install an RPM that uses a newer % > version of RPM than that supported by the version of RPM you have % > installed. % > % > Kurt % % Thanks for all of the useful tips on ld.so.conf. % (how do you know so much about this stuff??)
I make my living knowing this stuff. % Yes, that's what I was trying to do. Then . . . . % 1. I tried to install rpm 3.0.6 and it complained about a failed % dependency for libdb.so.2 that I clearly had (a link from libdb.so.2 to % libdb1.2.1.2.so). % 2. I did rebuilddb. This does not do what you think it does. It removes holes from the Berkeley DB database files and rebuilds the indices. More specifically, it rebuilds the databases indices using the header information from installed packages. It does *not* restore missing information beyond what is stored in the RPM databases. % 3. I did a query on rpm and it did not know the package from which % libdb.so.2 came. Depending on how the rpm is packaged, a post-install script might create the link from libdb1.2.1.2.so to libdb.so.2, so rpm might not know whence libdb.so.2. % 4. Tim looked in his box and found that libdb.so.2 came from % db-2.7.7-12.rpm Ah. This is db version 2, db1 is db version 1. Or, I'm smokin' dope because I no longer use or have installed OpenLinux. % 5. I got out a eW3.0 disk I have and loaded db-2.7.7-8.rpm and rpm % 3.0.6-1. Bingo! Correct, because now you've installed db version 2. % 6. Meanwhile, Skippy provided an interesting tip on adding the path to % the library to /etc/ld.so.conf ( I did not yet try this but it looks % cool). But may not solve the problem -- see my remarks after item 4. % 7. Also, during the thread, I had yet another rpm with exactly the % same problem and I used --force --nodeps with no problem. Kurt -- If I had a plantation in Georgia and a home in Hell, I'd sell the plantation and go home. -- Eugene P. Gallagher _______________________________________________ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users