I tried installing fedora grpc srpm on CentOS and ran into following error when installing srpm. I understand fedora makes use of more recent versions of openssl, glibc etc but why should this happen when installing source rpm?
Any pointers/articles on how to go about building fedora srpms on CentOS? Any way out other than building directly using sources?
rpm -i grpc-1.17.1-3.fc30.i686.rpm warning: grpc-1.17.1-3.fc30.i686.rpm: Header V3 RSA/SHA256 Signature, key ID cfc659b9: NOKEY error: Failed dependencies: libc.so.6(GLIBC_2.28) is needed by grpc-1.17.1-3.fc30.i686 libcrypto.so.1.1 is needed by grpc-1.17.1-3.fc30.i686 libcrypto.so.1.1(OPENSSL_1_1_0) is needed by grpc-1.17.1-3.fc30.i686 libm.so.6(GLIBC_2.29) is needed by grpc-1.17.1-3.fc30.i686 libprotobuf.so.17 is needed by grpc-1.17.1-3.fc30.i686 libssl.so.1.1 is needed by grpc-1.17.1-3.fc30.i686 libssl.so.1.1(OPENSSL_1_1_0) is needed by grpc-1.17.1-3.fc30.i686 libstdc++.so.6(GLIBCXX_3.4.20) is needed by grpc-1.17.1-3.fc30.i686 libstdc++.so.6(GLIBCXX_3.4.21) is needed by grpc-1.17.1-3.fc30.i686
On 2018-12-27 10:26, sthustfo wrote:
I tried installing fedora grpc srpm on CentOS and ran into following error when installing srpm. I understand fedora makes use of more recent versions of openssl, glibc etc but why should this happen when installing source rpm?
Any pointers/articles on how to go about building fedora srpms on CentOS? Any way out other than building directly using sources?
rpm -i grpc-1.17.1-3.fc30.i686.rpm warning: grpc-1.17.1-3.fc30.i686.rpm: Header V3 RSA/SHA256 Signature, key ID cfc659b9: NOKEY error: Failed dependencies: libc.so.6(GLIBC_2.28) is needed by grpc-1.17.1-3.fc30.i686 libcrypto.so.1.1 is needed by grpc-1.17.1-3.fc30.i686 libcrypto.so.1.1(OPENSSL_1_1_0) is needed by grpc-1.17.1-3.fc30.i686 libm.so.6(GLIBC_2.29) is needed by grpc-1.17.1-3.fc30.i686 libprotobuf.so.17 is needed by grpc-1.17.1-3.fc30.i686 libssl.so.1.1 is needed by grpc-1.17.1-3.fc30.i686 libssl.so.1.1(OPENSSL_1_1_0) is needed by grpc-1.17.1-3.fc30.i686 libstdc++.so.6(GLIBCXX_3.4.20) is needed by grpc-1.17.1-3.fc30.i686 libstdc++.so.6(GLIBCXX_3.4.21) is needed by grpc-1.17.1-3.fc30.i686
The issue is that you're not installing a source RPM...rather, you're installing a 32bit binary RPM.
rpm -i grpc-1.17.1-3.fc30.i686.rpm
Source RPMs' filenames end in srpm and 64bit binary RPMs end in x86_64.rpm...you'll want to double check the RPM that you're trying to install, make sure that you truly want to utilize a source RPM and that if you're running a 64bit system, you install a 64bit RPM.
Additionally, if you use "yum localinstall" to install the RPM, binary or source, it will work to install the prerequisite RPMs for you.
Final thought...by and large, its not customary to install a source RPM but to run it through rpmbuild to build it, specifically, for your system.
On Thu, 2018-12-27 at 20:56 +0530, sthustfo wrote:
I tried installing fedora grpc srpm on CentOS and ran into following error when installing srpm. I understand fedora makes use of more recent versions of openssl, glibc etc but why should this happen when installing source rpm?
Any pointers/articles on how to go about building fedora srpms on CentOS? Any way out other than building directly using sources?
rpm -i grpc-1.17.1-3.fc30.i686.rpm
Because that isn't the source rpm, it's the 32-bit binary rpm. You will need the package name that ends .src.rpm
Building RPMs on CentOS is covered here:
https://wiki.centos.org/HowTos/RebuildSRPM
It doesn't really matter which system the SRPM comes from, your success at building it will depend on whether the requirements for the build can be satisfied on your system.
P.