Your message dated Fri, 16 Jun 2006 23:27:03 +0200
with message-id <[EMAIL PROTECTED]>
and subject line [Pkg-openssl-devel] Bug#374016: libssl-dev: libssl.pc's Libs 
shouldn't include -ldl -lz
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libssl-dev
Version: 0.9.8b-2
Severity: minor

Hi,

There are spurious dependencies in libssl.pc:

Libs: -L${libdir} -lcrypto -ldl -lz

-ldl -lz is _not_ needed in Libs (since the -lcrypto interface
doesn't depend on -ldl -lz interface) and just brings a unneeded
dependencies. It should rather be put in Libs.private:

Libs: -L${libdir} -lcrypto
Libs.private: -ldl -lz

(so that static compiling still works).

Samuel


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages libssl-dev depends on:
ii  libssl0.9.8                   0.9.8b-2   SSL shared libraries
ii  zlib1g-dev                    1:1.2.3-11 compression library - development

libssl-dev recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
On Fri, Jun 16, 2006 at 10:00:12PM +0200, Samuel Thibault wrote:
> Package: libssl-dev
> Version: 0.9.8b-2
> Severity: minor
> 
> Hi,
> 
> There are spurious dependencies in libssl.pc:
> 
> Libs: -L${libdir} -lcrypto -ldl -lz
> 
> -ldl -lz is _not_ needed in Libs (since the -lcrypto interface
> doesn't depend on -ldl -lz interface) and just brings a unneeded
> dependencies. It should rather be put in Libs.private:
> 
> Libs: -L${libdir} -lcrypto
> Libs.private: -ldl -lz
> 
> (so that static compiling still works).

There are currently 3 .pc files provided by the package:
/usr/lib/pkgconfig/openssl.pc:
Libs: -L${libdir} -lssl -lcrypto
Libs.private: -ldl -lz

/usr/lib/pkgconfig/libssl.pc:
Libs: -L${libdir} -lssl
Libs.private: -lcrypto -ldl -lz

/usr/lib/pkgconfig/libcrypto.pc:
Libs: -L${libdir} -lcrypto
Libs.private: -ldl -lz

This all looks good to me, and I have no idea why any of those
are wrong.  It has been that way since 0.9.8a-4, so shouldn't be
in the version you reported this against.   Afaik, -lz was
only Libs in the line in version 0.9.8a-3.

libssl.pc really should have an -lssl in somewhere, maybe you
were looking at libcrypto.pc instead?  And that already looks
like you've suggested.

So, I'm closing this bug since it seems to be invalid, or atleast
fixed already.


Kurt


--- End Message ---

Reply via email to