Problem in executables in a rpm package generated on RH7.3 (rpm 4.0.4)

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

 



Hello all,
I'm trying to generate a new rpm package of the "file" command on a RH7.3 based on a src.rpm package of FC3: file-4.12-1.FC3.1.src.rpm

I edited the new .spec file and I modified only the release data string, and then I executed:

rpmbuild -ba /usr/src/redhat/SPECS/file.spec

The rpm packages were generated with no problem... (yet...)

Then I installed the new rpm executing "rpm -Uvh ..."

BUT when I executed the file command appeared the following message: "file: could not find any magic files!!". When I saw the execution with strace, the executable was loading the libs (.so) using the temporal path: /var/tmp/file-4.12-root !!! first, and then the normal libs path... and finally it tried to find the magic file in the same temporal path. But this path was used when the rpm package was created!!

What can I put in the .spec file to solve this problem on the executable files?

Thanks a lot,

Edgard.
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-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