On Mon, Dec 7, 2015 at 6:49 PM, Rick Stevens <ricks@xxxxxxxxxxxxxx> wrote: > On 12/07/2015 09:20 AM, arnaud gaboury wrote: >> >> On Mon, Dec 7, 2015 at 5:16 PM, arnaud gaboury <arnaud.gaboury@xxxxxxxxx> >> wrote: >>> >>> On Mon, Dec 7, 2015 at 5:09 PM, Michael Schwendt <mschwendt@xxxxxxxxx> >>> wrote: >>>> >>>> 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? >>> >>> >>> ----------------------------------------------- >>> # dnf install -b -v rstudio-server-0.99.800-1.fc23.x86_64.rpm >>> cachedir: /var/cache/dnf >>> Loaded plugins: reposync, needs-restarting, system-upgrade, >>> playground, download, noroot, Query, protected_packages, >>> debuginfo-install, generate_completion_cache, builddep, copr, >>> config-manager >>> DNF version: 1.1.4 >>> repo: using cache for: fedora >>> not found deltainfo for: Fedora 23 - x86_64 >>> not found updateinfo for: Fedora 23 - x86_64 >>> repo: using cache for: updates >>> repo: using cache for: home_jeroenooms_opencpu-1.5 >>> not found deltainfo for: OpenCPU 1.5 (Fedora_22) >>> not found updateinfo for: OpenCPU 1.5 (Fedora_22) >>> repo: using cache for: trillian >>> not found deltainfo for: Trillian >>> not found updateinfo for: Trillian >>> fedora: using metadata from Sat Oct 31 18:34:41 2015. >>> updates: using metadata from Sun Dec 6 19:45:27 2015. >>> home_jeroenooms_opencpu-1.5: using metadata from Wed Jul 1 14:22:10 >>> 2015. >>> trillian: using metadata from Fri Jan 9 17:17:59 2015. >>> Last metadata expiration check performed 2:38:10 ago on Mon Dec 7 >>> 14:35:28 2015. >>> --> Starting dependency resolution >>> --> Finished dependency resolution >>> Error: package rstudio-server-0.99.800-1.fc23.x86_64 requires >>> libR.so()(64bit), but none of the providers can be installed >>> (try to add '--allowerasing' to command line to replace conflicting >>> packages) >>> >>> ---------------------------------------------------------------------------------------------------------------- >>> >>>> 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)' >>> >>> >>> ------------------------------------ >>> % rpm -q --whatprovides 'libR.so()(64bit)' >>> no package provides libR.so()(64bit) >>> ---------------------------------------------------- >>> >>> BINGO >> >> >> So I guess the trick is to create a yum repo in /etc/yum.repos.d and >> follow these instructions[1] ? > > > You should also make sure your "home-made" libR RPM pokes the > pkg-config system so the various build tools know about it. May you please be more precise? I based the spec file on the regular R package, but maybe missed something. Obviously > you've installed it, but likely > > pkg-config {--exists | --atleast-version=VERSION | --exact- > version=VERSION | --max-version=VERSION} libR.so > > doesn't return any data, so it's assumed the library isn't there. > ---------------------------------------------------------------------- > - Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx - > - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - > - - > - "Daddy, why doesn't this magnet pick up this floppy disk?" - > ---------------------------------------------------------------------- > > -- > 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 -- google.com/+arnaudgabourygabx -- 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