Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionMikuláš Patočka
2012-03-26 20:56:39 UTC
Description of problem:
Red Hat provides a package "openssl-static.x86_64" to staticly link ssl programs, but it doesn't work.
Version-Release number of selected component (if applicable):
openssl-static.x86_64 1.0.0-20.el6_2.2
How reproducible:
always
Steps to Reproduce:
1. Create a simple program "ssltest.c" that uses openssl:
#include <openssl/ssl.h>
int main()
{
SSLeay_add_ssl_algorithms();
return 0;
}
2. compile and link the program with:
gcc ssltest.c -static `pkg-config openssl --libs --static`
Actual results:
A lot of unresolved symbols to symbols belonging to krb5 library.
Expected results:
Red Hat should provide a static krb5 library and this library should be reported in "pkg-config openssl --libs --static" command.
Comment 4RHEL Program Management
2012-07-10 06:10:35 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
This request was erroneously removed from consideration in
Red Hat Enterprise Linux 6.4, which is currently under
development. This request will be evaluated for inclusion
in Red Hat Enterprise Linux 6.4.
Well it is dependent only partially - it can be solved independently but of course you'll need static krb5 libraries if you want to create fully statically linked executable which uses openssl.
Comment 8RHEL Program Management
2012-08-14 21:58:40 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release. Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.
I am not sure - the pkgconfig .pc for openssl is clearly wrong and fixing it would not be bad. But the executables created won't be fully static as krb5 linkage will stay dynamic.
We might remove it in Fedora and future Red Hat Enterprise Linux releases. Removing it in Red Hat Enterprise Linux 6 makes no sense. By the way if you need just the libcrypto, it will be fine as it does not link to krb5 libraries.
Description of problem: Red Hat provides a package "openssl-static.x86_64" to staticly link ssl programs, but it doesn't work. Version-Release number of selected component (if applicable): openssl-static.x86_64 1.0.0-20.el6_2.2 How reproducible: always Steps to Reproduce: 1. Create a simple program "ssltest.c" that uses openssl: #include <openssl/ssl.h> int main() { SSLeay_add_ssl_algorithms(); return 0; } 2. compile and link the program with: gcc ssltest.c -static `pkg-config openssl --libs --static` Actual results: A lot of unresolved symbols to symbols belonging to krb5 library. Expected results: Red Hat should provide a static krb5 library and this library should be reported in "pkg-config openssl --libs --static" command.