Click to See Complete Forum and Search --> : libjawt.so not found


pickarooney
04-05-2004, 03:48 PM
I'm trying to install azureus via rpm, and I get an error saying libjawt.so is missing. It's present in /usr/java/j2re1.4.2_01/lib/i386/ but the system doesn't find it. I added this path to root's $PATH and tried ldconfig, but no luck. Is there an easy way of getting Mandrake to recognise a file's presence? I think it was installed via RPM, but I can't check that cause the RPM Add/Remove Software thingy is missing from my KDE menus. There should be a command-line way to check it I guess?

mdwatts
04-05-2004, 05:52 PM
Originally posted by pickarooney
There should be a command-line way to check it I guess?

The commandline 'rpm' (man rpm)

rpm -q <package> (q=query)

http://www.rpm.org/max-rpm/

pickarooney
04-06-2004, 11:59 AM
Yup, that'll list the packages, but I'm looking for a way of listing the packages associated with a certain file. I'm not expressing myself very well, I know.

mdwatts
04-06-2004, 12:22 PM
As in??

rpm -qf /path/to/filename

i.e.

# locate libjawt.so
/usr/lib/SunJava2-1.4.2/jre/lib/i386/libjawt.so

# rpm -qf /usr/lib/SunJava2-1.4.2/jre/lib/i386/libjawt.so
java2-jre-1.4.2-35

That is also covered in the rpm manpage and the link I provided above.

pickarooney
04-07-2004, 05:36 PM
I'm sorry, I just don't get it (I did actually read the man page through this time, as I was at home, promise! :) )

rpm -qf /usr/java/j2re1.4.2_01/lib/i386/libjawt.so returns j2re-1.4.2_01-fcs

I have no package or file named j2re-1.4.2_01-fcs, and urpmi doesn't find j2re-1.4.2_01-fcs, j2re, j2re-1.4, j2re-1.4.2 and google has very few results for j2re-1.4.2_01-fcs which I'm guessing is a fedora core rpm anyway.

mdwatts
04-08-2004, 11:39 AM
Originally posted by pickarooney

rpm -qf /usr/java/j2re1.4.2_01/lib/i386/libjawt.so returns j2re-1.4.2_01-fcs

I have no package or file named j2re-1.4.2_01-fcs

You must have j2re-1.4.2_01-fcs installed or rpm would not have listed the package. Plus the fact that /usr/java/j2re1.4.2_01/lib/i386/libjawt.so exists since libjawt.so belongs to the j2re-1.4.2_01-fcs package.

Based on the amount of questions you post here at JL, you have a LOT of reading to do.

pickarooney
04-09-2004, 01:58 AM
Cheers mate, tell me something I don't know...