[openssl-users] openssl.spec build errors on CentOS 6?
Tomasz Chmielewski
mangoo at wpkg.org
Wed Apr 6 17:10:42 UTC 2016
On 2016-04-07 01:18, Matěj Cepl wrote:
> On 2016-04-06, 12:16 GMT, Tomasz Chmielewski wrote:
>> error: File not found by glob:
>> /root/rpmbuild/BUILDROOT/openssl-1.0.2g-1.x86_64/usr/lib/*.so*
>
> This is something really really weird. x86_64 package should
> never ever write anything to /usr/lib/ , but only to /usr/lib64.
> You have to have something else screwed up in your
> configuration.
Don't think it's something screwed in my configuration - I was able to
reproduce it on two different servers.
Also, the paths in the .spec file are hardcoded to /usr/lib/, not
/usr/lib64/ - correcting the spec to use /usr/lib64/ fixes this issue
and the packages are built correctly.
Unfortunately it also turns out that the packages created with the
bundled spec are not usable with CentOS 6 (built packages don't contain
required files/symlinks/dependencies needed by other packages in CentOS
6).
Tomasz Chmielewski
http://wpkg.org
More information about the openssl-users
mailing list