[CentOS] Resolving Dependencies

Will McDonald wmcdonald at gmail.com
Tue Feb 28 00:26:33 UTC 2006


On 27/02/06, Jim Perrin <jperrin at gmail.com> wrote:
> >
> > rpm -qpl java-1.4.2-sun-1.4.2.10-1jpp.i586.rpm | grep "libjava.so"
> > /usr/lib/jvm/java-1.4.2-sun-1.4.2.10/jre/lib/i386/libjava.so
> >
> > So does that mean that it is on my system and something is not going
> > right with this rpm when I do a yum -y install?
>
> No, this means the file is in that package and you're getting a
> circular dependency. This is is a common problem with jpackage rpms
> (you read the link I sent right?). yum won't fix this, because it's an
> internal dependency problem with rpm and java binaries. Seek help from
> the jpackage kids. They've dealt with this enough to help out better
> than I can.

For the archives, I bumped against this when I built the same RPMs as
Robert is but forgot to document the workaround. You need to manually
fulfill those dependencies in the java-1.4.2-sun.spec before
building...

[root at webserv1 SPECS]# rcsdiff -r1.1 java-1.4.2-sun.spec
===================================================================
RCS file: RCS/java-1.4.2-sun.spec,v
retrieving revision 1.1
diff -r1.1 java-1.4.2-sun.spec
71a72,75
> Provides:     libjava.so(SUNWprivate_1.1)
> Provides:     libjvm.so(SUNWprivate_1.1)
> Provides:     libnet.so(SUNWprivate_1.1)
> Provides:     libverify.so(SUNWprivate_1.1)
[root at webserv1 SPECS]#

Will.



More information about the CentOS mailing list