On Sun, 13 Apr 2003, Avner BenHanoch wrote: >When trying to run a GUI java program got error message. something like: >missing file "libstdc++-libc6.1-1.so.2". [snip] >My questions are two: >1) Which sole package is needed in order to have this file? Probably compat-libstdc++. >2) in general, how to determine which package is needed for a particular >file or software. Usually the rpm package will know what its dependencies are (check with "rpm -qR"). In the case of Sun's rpm files, they do not "require" libstdc++, so rpm (the program) can't warn about missing dependencies. If you have the rpmdb-redhat package installed, you can ask rpm which package provides a given dependency: (on RH7.3) $ rpm --redhatprovides libstdc++-libc6.1-1.so.2 compat-libstdc++-6.2-2.9.0.16 Hope this helps, Phil