Oh Yay! I am so happy to have an answer.
Thanks!

Lois

Ralf S. Engelschall wrote:
On Mon, Nov 06, 2006, Lois Bennett wrote:

I am trying to build the upgrade for my whole environment.  I am using

openpkg build -ZaKB -f /n/e4/OPENPKG/stable/2/SRC/00INDEX.rdf.bz2 -r
/n/e4/OPENPKG/stable/2/SRC/ | sh

it went along fine until I came to lynx (which comes after openssl) and
lynx is just not working.  I would just uninstallit and try moving on
but I know from earlier experience that this problem will show up in
other parts so I have to fix it.  Here is the error:
.......

This is not the first time I have seen this.  In the past I have fixed a
problem like this by going into the spec file and adding the zlib before
the ssl and crypto libs.

I am having less success this time since I can't find where to add them
in this spec.  I would like to make the fix apply to all subsequent
builds so I can avoid manually adding it.

Can someone tell me where to add this library change? Has anyone else
seen this before?

The problem is that you have built the "openssl" package with option
"with_zlib". This way it correctly dependes on "zlib" and even
the openssl.pc pkg-config(1) file contains a reference to this.
Unfortunately mostly all Autoconf checks for OpenSSL do _NOT_ use the
openssl.pc and hence they don't know that a "-lz" is required. This is a
long-standing problem we cannot easily workaround except by adding lots
of nasty hacks to lots of packages. As the "with_zlib" is by default off
and the SSL/TLS compression is not really used by most of the SSL/TLS
based applications, we decided to just wait until more OpenSSL users
hopefully adopt to use openssl.pc.

So, sorry, the "with_zlib" option is currently useful only in a very
small OpenPKG instance and where "openssl" is needed for an own
application (instead as a dependency for SSL/TLS based other packages).
You really have to turn it off in a full-size OpenPKG instance. OTOH, I
currently don't know of any real drawbacks, as I said, mostly no SSL/TLS
applications takes advantage of the compression support in SSL/TLS.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [email protected]

--
Lois B. Bennett, MSEE Senior UNIX System Administrator Channing Laboratory
Brigham & Women's Hospital
A Teaching Affiliate of
Harvard Medical School and
Harvard School of Public Health
[EMAIL PROTECTED]
617-525-2133 Voice
617-525-0958 FAX

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [email protected]

Reply via email to