[Pkg-varnish-devel] Bug#584916: libvarnish-dev: "pkg-config --libs varnishapi" is missing required libraries.

Florian Forster debian at verplant.org
Mon Jun 7 14:00:23 UTC 2010


Package: libvarnish-dev
Version: 2.1.2-1
Severity: normal

Running "pkg-config --libs varnishapi" returns:

  $ pkg-config --libs varnishapi
  -lvarnishapi  

In order to link successfully with "libvarnishapi", it should return
something like:

  $ pkg-config --libs varnishapi
  -lvarnishapi -lvarnish -lpcre


When linking against "libvarnishapi", several symbols are not resolved
automatically, as described in bug #558967. One of those symbols is
"VRE_exec":

  $ objdump -T /usr/lib/libvarnishapi.so.1.0.0 | grep VRE_exec
  0000000000000000      D  *UND*  0000000000000000              VRE_exec

This symbol is available from "libvarnish":

  $ objdump -T /usr/lib/libvarnish.so.1.0.0 | grep VRE_exec
  0000000000009c90 g    DF .text  0000000000000135  Base        VRE_exec

Since "libvarnishapi" itself is not linked against "libvarnish", the
linker cannot resolve this dependency automatically. Software that
relies on pkg-config to provide the correct LD-flags for linking against
"libvarnishapi" will thus fail to use the library or fail to build.

Regards,
—octo

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'experimental'), (100, 'unstable'), (100, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libvarnish-dev depends on:
ii  libvarnish1                   2.1.2-1    shared libraries for Varnish

libvarnish-dev recommends no packages.

libvarnish-dev suggests no packages.

-- no debconf information





More information about the Pkg-varnish-devel mailing list