Bug 119500
Summary: | Openssl not detected - krb5 required and not found | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Graham Leggett <minfrin> |
Component: | openssl | Assignee: | Nalin Dahyabhai <nalin> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | nhruby, richardl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-10-15 16:05:56 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Graham Leggett
2004-03-30 22:45:34 UTC
This also seems to happen on other compiles of progs that require ssl. I normally use the following: export CFLAGS=-I/usr/kerberos/include METOO. Building things with openssl gets broken. Can we at least have the %configure or %makeinstall macro in rpmbuild pass in the correct CFLAGS? Try adding: -DOPENSSL_NO_KRB5 to CFLAGS I'm not sure this one is Red Hat's fault. It looks like a custom package that you're building isn't using -I/usr/kerberos/include in its CFLAGS, which, if you're building your own RPM, is easy enough to add. Alternately, the cups rpm that Red Hat built, uses this routine in its spec: if pkg-config openssl ; then export CFLAGS=`pkg-config --cflags openssl` export CPPFLAGS=`pkg-config --cflags-only-I openssl` export LDFLAGS=`pkg-config --libs-only-L openssl` fi You could add this to the spec of any custom RPM that breaks. Closing as NOTABUG. Well, yeah, I know how to fix it :) Maybe this needs to be an rpm buglet instead. What'd be nice if there was an RPM macro that did the above constuct correctly for you instead of having to repeat it for eevery package you build. FWIW, the krb linked to openssl has been a buglet for a while. I jsut forget about it a lot ;) |