Re: compiling fedora srpm on CentOS

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



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.

--
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux