trouble with library dependency when main package depends on -libs subpackage

Eric Smith spacewar at gmail.com
Fri Nov 29 21:19:18 UTC 2013


The problem was that it was non-executable.  Thanks for the help!


On Fri, Nov 29, 2013 at 2:13 PM, Michael Schwendt <mschwendt at gmail.com>wrote:

> On Fri, 29 Nov 2013 13:26:20 -0700, Eric Smith wrote:
>
> > I'm having a bit of trouble with RPM dependencies.  I'm trying to package
> > faifa, which manages HomePlug AV interfaces.  There's a library
> (libfaifa)
> > and two executables, faifa and hpav_cfg.  I'm putting the executables in
> > the main package (faifa), the shared library in a -libs subpackage, and
> the
> > headers in a -devel subpackage.  I have both the main package and -devel
> > subpackage depending on the -libs subpackage, both using the line:
> >
> > Requires:       %{name}-libs%{_isa} = %{version}-%{release}
> >
> > When I attempt to install the main package, it says that there's an
> > unsatisfied "Requires: libfaifa.so.0()(64bit)" even if I already have the
> > -libs subpackage installed.
> >
> > I'm sure I've overlooked something in the packaging guidelines and other
> > relevant documentation, but I can't seem to figure out how to fix this.
> > Any assistance will be much appreciated. My spec and SRPM are at:
> > http://fedorapeople.org/~brouhaha/faifa/
>
> Query the built packages with "rpm". Verify the Provides in the -libs
> package. Use "rpmls" to display the contents of the -libs package.
> Make sure the shared lib is executable at the end of %install.
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20131129/0aac74b0/attachment.html>


More information about the devel mailing list