Circa 2002-Jul-03 09:22:24 -0700 dixit Wang, Mary Y: : I was trying to do rpm -ivh on a .rpm package. However, it came : back with error:failed dependencies: perlxxxx I am sure all the : dependencies are there, but rpm is looking at a different directory. : I have an older version of perl in one directory and an newer : version in another directory with all the necessary dependencies. I : think rpm is looking at the directory of the old perl installations. : Is there an environment variable that I can set so it will search : the dependencies in the correct directory path? Or is there a file : that I can modify for the search directory path? You seem to misunderstand how RPM fulfills dependencies. There are two kinds of dependencies that RPM knows about. (1) package dependencies (for example, 'perl >= 5.010') (2) "file" dependencies (for example, '/usr/bin/perl') Both kinds of dependencies are filled from the RPM database, *not* from the filesystem. That is, RPM only knows about packages that have been installed via RPM, and it only knows about files that are part of packages installed via RPM. If a file---or an entire software package--- has been installed on your system without using RPM, then RPM doesn't know that it's there. -- jim knoble | jmknoble@pobox.com | http://www.pobox.com/~jmknoble/ (GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)
Attachment:
pgp00000.pgp
Description: PGP signature