Resolving Dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 27/02/06, Jim Perrin <jperrin@xxxxxxxxx> 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@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@webserv1 SPECS]#

Will.

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux