Re: building rpm: error in shared libraries

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

 



On Mon, 7 Dec 2015 16:14:03 +0100, arnaud gaboury wrote:

> I wrote and build successfuly a rpm package. When it comes to install,
> I have this error:
> 
> # dnf install MyPackage.rpm
> Error: package rstudio-server-0.99.800-1.fc23.x86_64 requires
> libR.so()(64bit), but none of the providers can be installed

What's the output of "dnf install -b -v …" for that?
The error message reads a bit as if providers are found but are
not installable due to hidden errors.

> The cited library is indeed already installed:
> 
> % ldconfig -p | grep libR.so
> 807: libR.so (libc6,x86-64) => /usr/lib64/R/lib/libR.so
> 
> This shared lib is provided by a home made package,
> R-intel-core-3.2.2. This package is similar to Fedora R-core-3.2.2,
> but built witn Intel compiler and MKL.
> --------------------------------------------------------------
> % dnf provides /usr/lib64/R/lib/libR.so

This is the wrong command to run for examining dependencies. You need to
ask for the provider of 'libR.so()(64bit)' not the pathname of libR.so.

Show that your installed "R-intel-core" package is a provider of that:

  rpm -q --whatprovides 'libR.so()(64bit)'

For repos you can use "dnf", old "repoquery" or "dnf repoquery", too.

You can also compare Requires/Provides manually by querying package
files using "rpm -qp --provides file.rpm" and "rpm -qp --requires file.rpm".

> R-core-3.2.2-1.fc23.x86_64 : The minimal R components necessary for a
> functional runtime
> Repo        : fedora
> --------------------------------------------------------------------
> 
> I added this line in my .spec file:
> requires: R-intel-core >= 2.11.1

That would neither fix an unresolvable dependency on 'libR.so()(64bit)',
if no package in the enabled repos provides that "thing" or if a provider
cannot be installed.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux