Re: Centos7 rpm problem

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


In regard to: Re:Rpm-list Digest, Vol 317, Issue 3, 张志明 said (at...:

Please keep mailing list replies to the mailing list.

Thank you first!
The results of the commands are different,but why? The projects is not changed.
[root@pc-dell x86_64]# rpm -q --provides -p server-1.3.11.x86_64.rpm
config(server) = 1.3.11
server = 1.3.11
server(x86-64) = 1.3.11

[root@localhost x86_64]# rpm -q --provides -p server-1.3.11.x86_64.rpm
server = 1.3.11
server(x86-64) = 1.3.11

Panu answered your question with what is very likely the solution.

You're probably installing and without
setting the execute bits on the shared objects.  RPM's behavior on
RHEL 7 (and therefore CentOS 7) has apparently changed so that it
doesn't automatically "provide" shared objects if you don't set the
execute bits on them.

Basically, fix them so they are mode 0755 when your %install code
puts them into the "buildroot".

Once you do that, the rpm -q --provides -p server-1.3.11.x86_64.rpm
when run on CentOS 7 should show them in the output.

Tim Mooney                                             Tim.Mooney@xxxxxxxx
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
Rpm-list mailing list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux