Centos7 rpm problem

Panu Matilainen pmatilai at redhat.com
Mon Jan 8 08:37:14 UTC 2018

On 01/05/2018 04:18 AM, 张志明 wrote:
> Hi, everyone,
> I have a problem when using rpm and rpmbuild.
> 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
> Who can tell me why, and how to do with it. i do not want to install the 
> library before install the rpm.

Most likely the library doesn't have executable bits, chmod +x to fix.

	- Panu -

More information about the Rpm-list mailing list