rpmbuild and dependency disabling

Paul Howarth paul at city-fan.org
Tue Aug 2 17:14:15 UTC 2005


On Tue, 2005-08-02 at 11:45 -0500, Mike McGrath wrote:
>  
> > -----Original Message-----
> > From: fedora-list-bounces at redhat.com 
> > [mailto:fedora-list-bounces at redhat.com] On Behalf Of Paul Howarth
> > Sent: Tuesday, August 02, 2005 11:25 AM
> > To: For users of Fedora Core releases
> > Subject: Re: rpmbuild and dependency disabling
> > 
> > Mike McGrath wrote:
> > > Specifically the ones missing when I do an rpm -i :
> > > 
> > > error: Failed dependencies:
> > >         libXp.so.6 is needed by java-ies-1.4.2-08.i386
> > 
> > Should be provided by xorg-x11-deprecated-libs
> > 
> > >         libasound.so.2 is needed by java-ies-1.4.2-08.i386
> >  >         libasound.so.2(ALSA_0.9) is needed by 
> > java-ies-1.4.2-08.i386
> > 
> > Should be provided by alsa-lib
> > 
> > >         libjava.so(SUNWprivate_1.1) is needed by 
> > > java-ies-1.4.2-08.i386
> >  >         libnet.so(SUNWprivate_1.1) is needed by 
> > java-ies-1.4.2-08.i386
> >  >         libverify.so(SUNWprivate_1.1) is needed by 
> > java-ies-1.4.2-08.i386
> > 
> > Should be provided by your Sun Java package (did you install 
> > it with rpm?)
> > 
> > >         libodbc.so is needed by java-ies-1.4.2-08.i386
> > >         libodbcinst.so is needed by java-ies-1.4.2-08.i386
> > 
> > Hmm, an unversioned soname. The unixODBC package provides 
> > libodbc.so.1 and libodbcinst.so.1; I wonder why you're 
> > getting the unversioned ones?
> > 
> > Do you have the other required packages installed (as RPMs)?
> > 
> > Paul.
> > 
> > --
> > fedora-list mailing list
> > fedora-list at redhat.com
> > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> > 
> > 
> 
> Basically all I did was a minimal install, downloaded j2sdk1.4.2_08 from
> sun's site.  Added a few scripts to it, and did an rpmbuild -bb.

Java packages are best done the JPackage way if you want compatibility
and for dependencies to work properly. Don't install the Sun java rpm,
try building this one instead:

http://jpackage.org/rpm.php?id=2427

Paul.
-- 
Paul Howarth <paul at city-fan.org>




More information about the fedora-list mailing list