Package depends on mpich, cannot be installed because nothing provides libmpi.so.12
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
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
|
show 2 more comments
up vote
3
down vote
favorite
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
Is there arpm
file thatlibmpi.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 packagempich-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 doesrpm -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 manuallyrpm -i qdpxx...
to see if it's RPM or dnf being derpy?
– thrig
Mar 30 '17 at 21:04
|
show 2 more comments
up vote
3
down vote
favorite
up vote
3
down vote
favorite
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
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
fedora rpm packaging
edited Mar 30 '17 at 20:32
asked Mar 30 '17 at 20:02
Martin Ueding
1,28311127
1,28311127
Is there arpm
file thatlibmpi.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 packagempich-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 doesrpm -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 manuallyrpm -i qdpxx...
to see if it's RPM or dnf being derpy?
– thrig
Mar 30 '17 at 21:04
|
show 2 more comments
Is there arpm
file thatlibmpi.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 packagempich-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 doesrpm -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 manuallyrpm -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
|
show 2 more comments
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
add a comment |
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
add a comment |
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
add a comment |
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
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
answered Nov 29 at 8:32
Bruno Guerraz
1
1
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Is there a
rpm
file thatlibmpi.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