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.
Bug 807050 - The package openssl-static.x86_64 doesn't work
Summary: The package openssl-static.x86_64 doesn't work
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: openssl
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Tomas Mraz
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-26 20:56 UTC by Mikuláš Patočka
Modified: 2012-08-29 17:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-29 09:40:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mikuláš 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 3 Japheth Cleaver 2012-05-23 01:53:13 UTC
Similar problem present in F17 (beta)

Comment 4 RHEL 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.

Comment 5 Ludek Smid 2012-07-11 11:39:13 UTC
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.

Comment 6 Japheth Cleaver 2012-08-01 17:18:56 UTC
This seems to be dependent on bug 838782

Comment 7 Tomas Mraz 2012-08-06 09:50:03 UTC
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 8 RHEL 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.

Comment 9 Karel Srot 2012-08-23 08:47:51 UTC
Tomas,
bug 838782 was closed as WONTFIX. Does it make sense to keep this bug opened?

Comment 10 Tomas Mraz 2012-08-27 17:27:18 UTC
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.

Comment 12 Tomas Mraz 2012-08-29 09:40:23 UTC
WONTFIXing this bug as well as the fix is of limited use given the missing static krb5 libraries.

Comment 13 Mikuláš Patočka 2012-08-29 16:28:07 UTC
If you set this won'tfix, I ask why don't you remove the openssl-static package? It makes no sense to provide a package that never works.

Comment 14 Tomas Mraz 2012-08-29 17:25:03 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.