Package depends on mpich, cannot be installed because nothing provides libmpi.so.12

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite
1












I have some software that uses MPI. I have created an RPM package from that.



The requirements are such that mpich and mpich-devel are included:



BuildRequires: libstdc++-devel autoconf gcc-c++ automake qmp qmp-devel environment-modules mpich-devel
BuildRequires: libxml2-devel
Requires: libstdc++ libxml2 qmp environment-modules mpich


(full spec file)



When I then try to install that via my Open Build Service home project, it tells me that the required library is not available:



# LC_ALL=C dnf install qdpxx qdpxx-devel --refresh --allowerasing
Error: nothing provides libmpi.so.12()(64bit) needed by qdpxx-1.44.0.git131-16.1.x86_64


The library is installed on my system, albeit not in a default path:



$ ls -l /usr/lib64/mpich/lib/
insgesamt 2780
lrwxrwxrwx. 1 root root 13 31. Mär 2016 libfmpich.so -> libmpifort.so*
lrwxrwxrwx. 1 root root 12 31. Mär 2016 libmpichcxx.so -> libmpicxx.so*
lrwxrwxrwx. 1 root root 13 31. Mär 2016 libmpichf90.so -> libmpifort.so*
lrwxrwxrwx. 1 root root 9 31. Mär 2016 libmpich.so -> libmpi.so*
lrwxrwxrwx. 1 root root 19 31. Mär 2016 libmpicxx.so -> libmpicxx.so.12.1.0*
lrwxrwxrwx. 1 root root 19 31. Mär 2016 libmpicxx.so.12 -> libmpicxx.so.12.1.0*
-rwxr-xr-x. 1 root root 134088 31. Mär 2016 libmpicxx.so.12.1.0*
lrwxrwxrwx. 1 root root 20 31. Mär 2016 libmpifort.so -> libmpifort.so.12.1.0*
lrwxrwxrwx. 1 root root 20 31. Mär 2016 libmpifort.so.12 -> libmpifort.so.12.1.0*
-rwxr-xr-x. 1 root root 228128 31. Mär 2016 libmpifort.so.12.1.0*
lrwxrwxrwx. 1 root root 16 31. Mär 2016 libmpi.so -> libmpi.so.12.1.0*
lrwxrwxrwx. 1 root root 16 31. Mär 2016 libmpi.so.12 -> libmpi.so.12.1.0*
-rwxr-xr-x. 1 root root 2474552 31. Mär 2016 libmpi.so.12.1.0*
lrwxrwxrwx. 1 root root 9 31. Mär 2016 libmpl.so -> libmpi.so*
lrwxrwxrwx. 1 root root 9 31. Mär 2016 libopa.so -> libmpi.so*
drwxr-xr-x. 2 root root 4096 5. Dez 18:08 pkgconfig/


What is missing? How do I get the package to recognize that mpich indeed provides the library libmpi.so.12?




$ rpm -q --provides mpich
libmpi.so.12()(64bit)(mpich-x86_64)
libmpicxx.so.12()(64bit)(mpich-x86_64)
libmpifort.so.12()(64bit)(mpich-x86_64)
mpi
mpich = 3.2-6.fc25
mpich(x86-64) = 3.2-6.fc25
mpich2 = 3.2









share|improve this question























  • Is there a rpm file that libmpi.so.12 exists in? (That is, is there a RPM that provides that according to the RPM specifications?)
    – thrig
    Mar 30 '17 at 20:12










  • The package mpich-3.2-6.fc25.x86_64 contains the file /usr/lib64/mpich/lib/libmpi.so.12.
    – Martin Ueding
    Mar 30 '17 at 20:19










  • Okay, what does rpm -q --provides mpich show as that package providing?
    – thrig
    Mar 30 '17 at 20:30










  • I have added that to the end of the question. Seems like it is contained in there.
    – Martin Ueding
    Mar 30 '17 at 20:32










  • Hmm, can you manually rpm -i qdpxx... to see if it's RPM or dnf being derpy?
    – thrig
    Mar 30 '17 at 21:04














up vote
3
down vote

favorite
1












I have some software that uses MPI. I have created an RPM package from that.



The requirements are such that mpich and mpich-devel are included:



BuildRequires: libstdc++-devel autoconf gcc-c++ automake qmp qmp-devel environment-modules mpich-devel
BuildRequires: libxml2-devel
Requires: libstdc++ libxml2 qmp environment-modules mpich


(full spec file)



When I then try to install that via my Open Build Service home project, it tells me that the required library is not available:



# LC_ALL=C dnf install qdpxx qdpxx-devel --refresh --allowerasing
Error: nothing provides libmpi.so.12()(64bit) needed by qdpxx-1.44.0.git131-16.1.x86_64


The library is installed on my system, albeit not in a default path:



$ ls -l /usr/lib64/mpich/lib/
insgesamt 2780
lrwxrwxrwx. 1 root root 13 31. Mär 2016 libfmpich.so -> libmpifort.so*
lrwxrwxrwx. 1 root root 12 31. Mär 2016 libmpichcxx.so -> libmpicxx.so*
lrwxrwxrwx. 1 root root 13 31. Mär 2016 libmpichf90.so -> libmpifort.so*
lrwxrwxrwx. 1 root root 9 31. Mär 2016 libmpich.so -> libmpi.so*
lrwxrwxrwx. 1 root root 19 31. Mär 2016 libmpicxx.so -> libmpicxx.so.12.1.0*
lrwxrwxrwx. 1 root root 19 31. Mär 2016 libmpicxx.so.12 -> libmpicxx.so.12.1.0*
-rwxr-xr-x. 1 root root 134088 31. Mär 2016 libmpicxx.so.12.1.0*
lrwxrwxrwx. 1 root root 20 31. Mär 2016 libmpifort.so -> libmpifort.so.12.1.0*
lrwxrwxrwx. 1 root root 20 31. Mär 2016 libmpifort.so.12 -> libmpifort.so.12.1.0*
-rwxr-xr-x. 1 root root 228128 31. Mär 2016 libmpifort.so.12.1.0*
lrwxrwxrwx. 1 root root 16 31. Mär 2016 libmpi.so -> libmpi.so.12.1.0*
lrwxrwxrwx. 1 root root 16 31. Mär 2016 libmpi.so.12 -> libmpi.so.12.1.0*
-rwxr-xr-x. 1 root root 2474552 31. Mär 2016 libmpi.so.12.1.0*
lrwxrwxrwx. 1 root root 9 31. Mär 2016 libmpl.so -> libmpi.so*
lrwxrwxrwx. 1 root root 9 31. Mär 2016 libopa.so -> libmpi.so*
drwxr-xr-x. 2 root root 4096 5. Dez 18:08 pkgconfig/


What is missing? How do I get the package to recognize that mpich indeed provides the library libmpi.so.12?




$ rpm -q --provides mpich
libmpi.so.12()(64bit)(mpich-x86_64)
libmpicxx.so.12()(64bit)(mpich-x86_64)
libmpifort.so.12()(64bit)(mpich-x86_64)
mpi
mpich = 3.2-6.fc25
mpich(x86-64) = 3.2-6.fc25
mpich2 = 3.2









share|improve this question























  • Is there a rpm file that libmpi.so.12 exists in? (That is, is there a RPM that provides that according to the RPM specifications?)
    – thrig
    Mar 30 '17 at 20:12










  • The package mpich-3.2-6.fc25.x86_64 contains the file /usr/lib64/mpich/lib/libmpi.so.12.
    – Martin Ueding
    Mar 30 '17 at 20:19










  • Okay, what does rpm -q --provides mpich show as that package providing?
    – thrig
    Mar 30 '17 at 20:30










  • I have added that to the end of the question. Seems like it is contained in there.
    – Martin Ueding
    Mar 30 '17 at 20:32










  • Hmm, can you manually rpm -i qdpxx... to see if it's RPM or dnf being derpy?
    – thrig
    Mar 30 '17 at 21:04












up vote
3
down vote

favorite
1









up vote
3
down vote

favorite
1






1





I have some software that uses MPI. I have created an RPM package from that.



The requirements are such that mpich and mpich-devel are included:



BuildRequires: libstdc++-devel autoconf gcc-c++ automake qmp qmp-devel environment-modules mpich-devel
BuildRequires: libxml2-devel
Requires: libstdc++ libxml2 qmp environment-modules mpich


(full spec file)



When I then try to install that via my Open Build Service home project, it tells me that the required library is not available:



# LC_ALL=C dnf install qdpxx qdpxx-devel --refresh --allowerasing
Error: nothing provides libmpi.so.12()(64bit) needed by qdpxx-1.44.0.git131-16.1.x86_64


The library is installed on my system, albeit not in a default path:



$ ls -l /usr/lib64/mpich/lib/
insgesamt 2780
lrwxrwxrwx. 1 root root 13 31. Mär 2016 libfmpich.so -> libmpifort.so*
lrwxrwxrwx. 1 root root 12 31. Mär 2016 libmpichcxx.so -> libmpicxx.so*
lrwxrwxrwx. 1 root root 13 31. Mär 2016 libmpichf90.so -> libmpifort.so*
lrwxrwxrwx. 1 root root 9 31. Mär 2016 libmpich.so -> libmpi.so*
lrwxrwxrwx. 1 root root 19 31. Mär 2016 libmpicxx.so -> libmpicxx.so.12.1.0*
lrwxrwxrwx. 1 root root 19 31. Mär 2016 libmpicxx.so.12 -> libmpicxx.so.12.1.0*
-rwxr-xr-x. 1 root root 134088 31. Mär 2016 libmpicxx.so.12.1.0*
lrwxrwxrwx. 1 root root 20 31. Mär 2016 libmpifort.so -> libmpifort.so.12.1.0*
lrwxrwxrwx. 1 root root 20 31. Mär 2016 libmpifort.so.12 -> libmpifort.so.12.1.0*
-rwxr-xr-x. 1 root root 228128 31. Mär 2016 libmpifort.so.12.1.0*
lrwxrwxrwx. 1 root root 16 31. Mär 2016 libmpi.so -> libmpi.so.12.1.0*
lrwxrwxrwx. 1 root root 16 31. Mär 2016 libmpi.so.12 -> libmpi.so.12.1.0*
-rwxr-xr-x. 1 root root 2474552 31. Mär 2016 libmpi.so.12.1.0*
lrwxrwxrwx. 1 root root 9 31. Mär 2016 libmpl.so -> libmpi.so*
lrwxrwxrwx. 1 root root 9 31. Mär 2016 libopa.so -> libmpi.so*
drwxr-xr-x. 2 root root 4096 5. Dez 18:08 pkgconfig/


What is missing? How do I get the package to recognize that mpich indeed provides the library libmpi.so.12?




$ rpm -q --provides mpich
libmpi.so.12()(64bit)(mpich-x86_64)
libmpicxx.so.12()(64bit)(mpich-x86_64)
libmpifort.so.12()(64bit)(mpich-x86_64)
mpi
mpich = 3.2-6.fc25
mpich(x86-64) = 3.2-6.fc25
mpich2 = 3.2









share|improve this question















I have some software that uses MPI. I have created an RPM package from that.



The requirements are such that mpich and mpich-devel are included:



BuildRequires: libstdc++-devel autoconf gcc-c++ automake qmp qmp-devel environment-modules mpich-devel
BuildRequires: libxml2-devel
Requires: libstdc++ libxml2 qmp environment-modules mpich


(full spec file)



When I then try to install that via my Open Build Service home project, it tells me that the required library is not available:



# LC_ALL=C dnf install qdpxx qdpxx-devel --refresh --allowerasing
Error: nothing provides libmpi.so.12()(64bit) needed by qdpxx-1.44.0.git131-16.1.x86_64


The library is installed on my system, albeit not in a default path:



$ ls -l /usr/lib64/mpich/lib/
insgesamt 2780
lrwxrwxrwx. 1 root root 13 31. Mär 2016 libfmpich.so -> libmpifort.so*
lrwxrwxrwx. 1 root root 12 31. Mär 2016 libmpichcxx.so -> libmpicxx.so*
lrwxrwxrwx. 1 root root 13 31. Mär 2016 libmpichf90.so -> libmpifort.so*
lrwxrwxrwx. 1 root root 9 31. Mär 2016 libmpich.so -> libmpi.so*
lrwxrwxrwx. 1 root root 19 31. Mär 2016 libmpicxx.so -> libmpicxx.so.12.1.0*
lrwxrwxrwx. 1 root root 19 31. Mär 2016 libmpicxx.so.12 -> libmpicxx.so.12.1.0*
-rwxr-xr-x. 1 root root 134088 31. Mär 2016 libmpicxx.so.12.1.0*
lrwxrwxrwx. 1 root root 20 31. Mär 2016 libmpifort.so -> libmpifort.so.12.1.0*
lrwxrwxrwx. 1 root root 20 31. Mär 2016 libmpifort.so.12 -> libmpifort.so.12.1.0*
-rwxr-xr-x. 1 root root 228128 31. Mär 2016 libmpifort.so.12.1.0*
lrwxrwxrwx. 1 root root 16 31. Mär 2016 libmpi.so -> libmpi.so.12.1.0*
lrwxrwxrwx. 1 root root 16 31. Mär 2016 libmpi.so.12 -> libmpi.so.12.1.0*
-rwxr-xr-x. 1 root root 2474552 31. Mär 2016 libmpi.so.12.1.0*
lrwxrwxrwx. 1 root root 9 31. Mär 2016 libmpl.so -> libmpi.so*
lrwxrwxrwx. 1 root root 9 31. Mär 2016 libopa.so -> libmpi.so*
drwxr-xr-x. 2 root root 4096 5. Dez 18:08 pkgconfig/


What is missing? How do I get the package to recognize that mpich indeed provides the library libmpi.so.12?




$ rpm -q --provides mpich
libmpi.so.12()(64bit)(mpich-x86_64)
libmpicxx.so.12()(64bit)(mpich-x86_64)
libmpifort.so.12()(64bit)(mpich-x86_64)
mpi
mpich = 3.2-6.fc25
mpich(x86-64) = 3.2-6.fc25
mpich2 = 3.2






fedora rpm packaging






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 30 '17 at 20:32

























asked Mar 30 '17 at 20:02









Martin Ueding

1,28311127




1,28311127











  • Is there a rpm file that libmpi.so.12 exists in? (That is, is there a RPM that provides that according to the RPM specifications?)
    – thrig
    Mar 30 '17 at 20:12










  • The package mpich-3.2-6.fc25.x86_64 contains the file /usr/lib64/mpich/lib/libmpi.so.12.
    – Martin Ueding
    Mar 30 '17 at 20:19










  • Okay, what does rpm -q --provides mpich show as that package providing?
    – thrig
    Mar 30 '17 at 20:30










  • I have added that to the end of the question. Seems like it is contained in there.
    – Martin Ueding
    Mar 30 '17 at 20:32










  • Hmm, can you manually rpm -i qdpxx... to see if it's RPM or dnf being derpy?
    – thrig
    Mar 30 '17 at 21:04
















  • Is there a rpm file that libmpi.so.12 exists in? (That is, is there a RPM that provides that according to the RPM specifications?)
    – thrig
    Mar 30 '17 at 20:12










  • The package mpich-3.2-6.fc25.x86_64 contains the file /usr/lib64/mpich/lib/libmpi.so.12.
    – Martin Ueding
    Mar 30 '17 at 20:19










  • Okay, what does rpm -q --provides mpich show as that package providing?
    – thrig
    Mar 30 '17 at 20:30










  • I have added that to the end of the question. Seems like it is contained in there.
    – Martin Ueding
    Mar 30 '17 at 20:32










  • Hmm, can you manually rpm -i qdpxx... to see if it's RPM or dnf being derpy?
    – thrig
    Mar 30 '17 at 21:04















Is there a rpm file that libmpi.so.12 exists in? (That is, is there a RPM that provides that according to the RPM specifications?)
– thrig
Mar 30 '17 at 20:12




Is there a rpm file that libmpi.so.12 exists in? (That is, is there a RPM that provides that according to the RPM specifications?)
– thrig
Mar 30 '17 at 20:12












The package mpich-3.2-6.fc25.x86_64 contains the file /usr/lib64/mpich/lib/libmpi.so.12.
– Martin Ueding
Mar 30 '17 at 20:19




The package mpich-3.2-6.fc25.x86_64 contains the file /usr/lib64/mpich/lib/libmpi.so.12.
– Martin Ueding
Mar 30 '17 at 20:19












Okay, what does rpm -q --provides mpich show as that package providing?
– thrig
Mar 30 '17 at 20:30




Okay, what does rpm -q --provides mpich show as that package providing?
– thrig
Mar 30 '17 at 20:30












I have added that to the end of the question. Seems like it is contained in there.
– Martin Ueding
Mar 30 '17 at 20:32




I have added that to the end of the question. Seems like it is contained in there.
– Martin Ueding
Mar 30 '17 at 20:32












Hmm, can you manually rpm -i qdpxx... to see if it's RPM or dnf being derpy?
– thrig
Mar 30 '17 at 21:04




Hmm, can you manually rpm -i qdpxx... to see if it's RPM or dnf being derpy?
– thrig
Mar 30 '17 at 21:04










1 Answer
1






active

oldest

votes

















up vote
0
down vote













The answer is in the packaging guidelines 1.




MPI implementation specific files MUST be installed in the directories used by the used MPI compiler ($MPI_BIN, $MPI_LIB and so on).




For mpich, binaries must be in /usr/lib64/mpich/bin






share|improve this answer




















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f354923%2fpackage-depends-on-mpich-cannot-be-installed-because-nothing-provides-libmpi-so%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    The answer is in the packaging guidelines 1.




    MPI implementation specific files MUST be installed in the directories used by the used MPI compiler ($MPI_BIN, $MPI_LIB and so on).




    For mpich, binaries must be in /usr/lib64/mpich/bin






    share|improve this answer
























      up vote
      0
      down vote













      The answer is in the packaging guidelines 1.




      MPI implementation specific files MUST be installed in the directories used by the used MPI compiler ($MPI_BIN, $MPI_LIB and so on).




      For mpich, binaries must be in /usr/lib64/mpich/bin






      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        The answer is in the packaging guidelines 1.




        MPI implementation specific files MUST be installed in the directories used by the used MPI compiler ($MPI_BIN, $MPI_LIB and so on).




        For mpich, binaries must be in /usr/lib64/mpich/bin






        share|improve this answer












        The answer is in the packaging guidelines 1.




        MPI implementation specific files MUST be installed in the directories used by the used MPI compiler ($MPI_BIN, $MPI_LIB and so on).




        For mpich, binaries must be in /usr/lib64/mpich/bin







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 29 at 8:32









        Bruno Guerraz

        1




        1



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f354923%2fpackage-depends-on-mpich-cannot-be-installed-because-nothing-provides-libmpi-so%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown






            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?