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

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

 



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


On Fri, Nov 29, 2013 at 2:13 PM, Michael Schwendt <mschwendt@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux