Rpm-list Digest, Vol 317, Issue 3

张志明 0410589 at 163.com
Mon Jan 8 01:44:09 UTC 2018


Thank you first!


centos6:
[root at pc-dell x86_64]# rpm -q --provides -p server-1.3.11.x86_64.rpm 
config(server) = 1.3.11
libmylib.so.2()(64bit)  
mediacontrol.so()(64bit)  
server = 1.3.11
server(x86-64) = 1.3.11
[root at pc-dell x86_64]# rpm -q --requires -p server-1.3.11.x86_64.rpm 
/bin/bash  
/bin/sh  
/bin/sh  
/bin/sh  
/bin/sh  
/bin/sh  
config(server) = 1.3.11
libc.so.6()(64bit)  
libc.so.6(GLIBC_2.2.5)(64bit)  
libc.so.6(GLIBC_2.3.2)(64bit)  
libc.so.6(GLIBC_2.3.3)(64bit)  
libc.so.6(GLIBC_2.3.4)(64bit)  
libc.so.6(GLIBC_2.4)(64bit)  
libc.so.6(GLIBC_2.7)(64bit)  
libcrypto.so.10()(64bit)  
libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)  
libcrypto.so.10(libcrypto.so.10)(64bit)  
libdl.so.2()(64bit)  
libdl.so.2(GLIBC_2.2.5)(64bit)  
libexpat.so.1()(64bit)  
libgcc_s.so.1()(64bit)  
libgcc_s.so.1(GCC_3.0)(64bit)  
libmylib.so.2()(64bit)  
libm.so.6()(64bit)  
libm.so.6(GLIBC_2.2.5)(64bit)  
libnsl.so.1()(64bit)  
libpcre.so.0()(64bit)  
libpcrecpp.so.0()(64bit)  
libpthread.so.0()(64bit)  
libpthread.so.0(GLIBC_2.2.5)(64bit)  
libpthread.so.0(GLIBC_2.3.2)(64bit)  
libresolv.so.2()(64bit)  
libresolv.so.2(GLIBC_2.2.5)(64bit)  
librt.so.1()(64bit)  
libsqlite3.so.0()(64bit)  
libssl.so.10()(64bit)  
libssl.so.10(libssl.so.10)(64bit)  
libstdc++.so.6()(64bit)  
libstdc++.so.6(CXXABI_1.3)(64bit)  
libstdc++.so.6(GLIBCXX_3.4)(64bit)  
libstdc++.so.6(GLIBCXX_3.4.5)(64bit)  
libtcl8.5.so()(64bit)  
libxml2.so.2()(64bit)  
libxml2.so.2(LIBXML2_2.4.30)(64bit)  
libxml2.so.2(LIBXML2_2.6.0)(64bit)  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)  
rpmlib(PayloadIsXz) <= 5.2-1
[root at pc-dell x86_64]# 






centos7:
[root at localhost x86_64]# rpm -q --provides -p server-1.3.11.x86_64.rpm 
server = 1.3.11
server(x86-64) = 1.3.11
[root at localhost x86_64]# rpm -q --requires -p server-1.3.11.x86_64.rpm 
/bin/bash
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3.2)(64bit)
libc.so.6(GLIBC_2.3.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.7)(64bit)
libcrypto.so.10()(64bit)
libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
libcrypto.so.10(libcrypto.so.10)(64bit)
libdl.so.2()(64bit)
libdl.so.2(GLIBC_2.2.5)(64bit)
libexpat.so.1()(64bit)
libgcc_s.so.1()(64bit)
libgcc_s.so.1(GCC_3.0)(64bit)
libmylib.so.2()(64bit)
libm.so.6()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libnsl.so.1()(64bit)
libpcre.so.1()(64bit)
libpcrecpp.so.0()(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libpthread.so.0(GLIBC_2.3.2)(64bit)
libresolv.so.2()(64bit)
libresolv.so.2(GLIBC_2.2.5)(64bit)
librt.so.1()(64bit)
librt.so.1(GLIBC_2.2.5)(64bit)
libsqlite3.so.0()(64bit)
libssl.so.10()(64bit)
libssl.so.10(libssl.so.10)(64bit)
libstdc++.so.6()(64bit)
libstdc++.so.6(CXXABI_1.3)(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
libstdc++.so.6(GLIBCXX_3.4.5)(64bit)
libtcl8.5.so()(64bit)
libxml2.so.2()(64bit)
libxml2.so.2(LIBXML2_2.4.30)(64bit)
libxml2.so.2(LIBXML2_2.6.0)(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
rpmlib(PayloadIsXz) <= 5.2-1
[root at localhost x86_64]# 










At 2018-01-06 19:00:04, rpm-list-request at lists.rpm.org wrote:
>Send Rpm-list mailing list submissions to
>	rpm-list at lists.rpm.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://lists.rpm.org/mailman/listinfo/rpm-list
>or, via email, send a message with subject or body 'help' to
>	rpm-list-request at lists.rpm.org
>
>You can reach the person managing the list at
>	rpm-list-owner at lists.rpm.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Rpm-list digest..."
>
>
>Today's Topics:
>
>   1. Re: Centos7 rpm problem (Tim Mooney)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 5 Jan 2018 13:14:44 -0600 (CST)
>From: Tim Mooney <Tim.Mooney at ndsu.edu>
>To: General discussion about the RPM package manager
>	<rpm-list at lists.rpm.org>
>Subject: Re: Centos7 rpm problem
>Message-ID:
>	<alpine.SOC.2.20.1801051311400.11488 at dogbert.cc.ndsu.NoDak.edu>
>Content-Type: text/plain; charset="gbk"; Format="flowed"
>
>In regard to: Centos7 rpm problem, ??? said (at 10:18am on Jan 5, 2018):
>
>> centos6, I have a project which include an .so library, the library is
>> compiled by myself. Compile the project and make a rpm file,
>> successfully. Install it successfully.  But when I do this in centos7,
>> compile successfully, but when I install the rpm file,
>> error: Failed dependencies:
>> mylib.so.2()(64bit) is needed by myproject
>
>After you've generated the RPM package on both CentOS 6 and CentOS 7,
>do this:
>
># on the centos 6 system:
>
> 	rpm -q --provides -p /path/to/your/centos6/rpm
> 	rpm -q --requires -p /path/to/your/centos6/rpm
>
># on the centos 7 system:
>
> 	rpm -q --provides -p /path/to/your/centos7/rpm
> 	rpm -q --requires -p /path/to/your/centos7/rpm
>
>Reply to this mailing list with the output from those commands, so we can
>see what your two different packages require and provide.
>
>Tim
>-- 
>Tim Mooney                                             Tim.Mooney at ndsu.edu
>Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
>Room 242-J6, Quentin Burdick Building                  701-231-8541 (Fax)
>North Dakota State University, Fargo, ND 58105-5164
>
>------------------------------
>
>Subject: Digest Footer
>
>_______________________________________________
>Rpm-list mailing list
>Rpm-list at lists.rpm.org
>http://lists.rpm.org/mailman/listinfo/rpm-list
>
>
>------------------------------
>
>End of Rpm-list Digest, Vol 317, Issue 3
>****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20180108/fd933441/attachment.html>


More information about the Rpm-list mailing list