philyuchkoff / openssl-rpm-builder Goto Github PK
View Code? Open in Web Editor NEWBuild latest OpenSSL binary for CentOS
Build latest OpenSSL binary for CentOS
openssl-libs-1.1.1i.rpm this package how to build ? please help me ... thanks
I just came across your openssl RPM builder would like to know if possible to include the libs and devel packages as well with it?
升级完openssl后,依赖的lib库,如何升级呢?依赖的lib库有openssl-lib和openssl-devel
build openssl rpm with openssl_3.spec.
Requires: /usr/bin/perl libc.so.6()(64bit) libc.so.6(GLIBC_2.12)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcrypto.so.3(OPENSSL_3.0.3)(64bit) libcrypto.so.3(OPENSSL_3.0.9)(64bit) libcrypto.so.3(OPENSSL_3.2.0)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libssl.so.3(OPENSSL_3.2.0)(64bit) perl(File::Basename) perl(Getopt::Std) perl(IO::Handle) perl(WWW::Curl::Easy) perl(strict) perl(vars) perl(warnings) rtld(GNU_HASH)
Obsoletes: openssl <= 3.2.1
Processing files: openssl-devel-3.2.1-1.el8.x86_64
Provides: openssl-devel = 3.2.1-1.el8 openssl-devel(x86-64) = 3.2.1-1.el8
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: openssl-debugsource-3.2.1-1.el8.x86_64
error: Empty %files file /root/rpmbuild/BUILD/openssl-3.2.1/debugsourcefiles.list
RPM build errors:
Empty %files file /root/rpmbuild/BUILD/openssl-3.2.1/debugsourcefiles.list
building already, but when i install package failed dependencies with openssl-libs
error: Failed dependencies:
openssl < 1:1.0.1-0.3.beta3 is obsoleted by (installed) openssl-libs-1:1.0.2k-12.el7.x86_64
[root@centos2207 ~]# yum update
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
正在解决依赖关系
--> 正在检查事务
---> 软件包 openssl.x86_64.0.3.0.8-1.el7 将被 升级
---> 软件包 openssl.x86_64.1.1.0.2k-25.el7_9 将被 更新
Removing openssl.x86_64 0:3.0.8-1.el7 - ud due to obsoletes from installed 1:openssl-libs-1.0.2k-25.el7_9.x86_64
--> 正在使用新的信息重新解决依赖关系
--> 正在检查事务
---> 软件包 openssl.x86_64.0.3.0.8-1.el7 将被 升级
--> 解决依赖关系完成
错误: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for openssl which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of openssl of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude openssl.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of openssl installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of openssl installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
保护多库版本:1:openssl-1.0.2k-25.el7_9.x86_64 != openssl-3.0.8-1.el7.x86_64
源码编译 openssl 则正常
Due to some special reasons, I need to build openssl-libs on CentOS 7. Based on the files you provided, I successfully built openssl and openssl-devel. However, I still need openssl-libs. What should I do next?
Hey there, its not working for me. Just crashed my site. Its not working. Nginx its not working. So nothing it's working
on the rpmbuild step I get the following
Processing files: openssl-1.1.1k-1.el8.x86_64
Provides: libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libcrypto.so.1.1(OPENSSL_1_1_0a)(64bit) libcrypto.so.1.1(OPENSSL_1_1_0c)(64bit) libcrypto.so.1.1(OPENSSL_1_1_0d)(64bit) libcrypto.so.1.1(OPENSSL_1_1_0f)(64bit) libcrypto.so.1.1(OPENSSL_1_1_0g)(64bit) libcrypto.so.1.1(OPENSSL_1_1_0h)(64bit) libcrypto.so.1.1(OPENSSL_1_1_0i)(64bit) libcrypto.so.1.1(OPENSSL_1_1_0j)(64bit) libcrypto.so.1.1(OPENSSL_1_1_1)(64bit) libcrypto.so.1.1(OPENSSL_1_1_1b)(64bit) libcrypto.so.1.1(OPENSSL_1_1_1c)(64bit) libcrypto.so.1.1(OPENSSL_1_1_1d)(64bit) libcrypto.so.1.1(OPENSSL_1_1_1e)(64bit) libcrypto.so.1.1(OPENSSL_1_1_1h)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libssl.so.1.1(OPENSSL_1_1_0d)(64bit) libssl.so.1.1(OPENSSL_1_1_1)(64bit) libssl.so.1.1(OPENSSL_1_1_1a)(64bit) openssl = 1.1.1k openssl = 1.1.1k-1.el8 openssl(x86-64) = 1.1.1k-1.el8
Requires(interp): /sbin/ldconfig /sbin/ldconfig
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: /usr/bin/perl libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libcrypto.so.1.1(OPENSSL_1_1_0d)(64bit) libcrypto.so.1.1(OPENSSL_1_1_0f)(64bit) libcrypto.so.1.1(OPENSSL_1_1_0i)(64bit) libcrypto.so.1.1(OPENSSL_1_1_1)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libssl.so.1.1(OPENSSL_1_1_1)(64bit) perl(File::Basename) perl(Getopt::Std) perl(IO::Handle) perl(WWW::Curl::Easy) perl(strict) perl(vars) perl(warnings) rtld(GNU_HASH)
Obsoletes: openssl <= 1.1.1k
Processing files: openssl-devel-1.1.1k-1.el8.x86_64
Provides: openssl-devel = 1.1.1k-1.el8 openssl-devel(x86-64) = 1.1.1k-1.el8
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: openssl-debugsource-1.1.1k-1.el8.x86_64
error: Empty %files file /root/rpmbuild/BUILD/openssl-1.1.1k/debugsourcefiles.list
RPM build errors:
Empty %files file /root/rpmbuild/BUILD/openssl-1.1.1k/debugsourcefiles.list
Hi,
Can you guideline how to build openssl include openssl-libs?
Thanks,
Tuan Ngo
Ur original code :
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%files
%{openssldir}
%defattr(-,root,root)
%files devel
%{openssldir}/include/*
%defattr(-,root,root)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I modified as follows:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%files
%{openssldir}
%defattr(-,root,root)
/usr/bin/openssl
/usr/lib64/libcrypto.so.1.1
/usr/lib64/libssl.so.1.1
%files devel
%{openssldir}/include/*
%defattr(-,root,root)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.