Bug#994437: libortp: missing -lbctoolbox

Frank Heckenbach f.heckenbach at fh-soft.de
Thu Sep 16 06:03:30 BST 2021


Package: libortp-dev
Version: 1:4.4.13-2
Severity: normal
File: libortp

% cat a.c
#include <ortp/ortp.h>

int main ()
{
  ortp_init ();
  ortp_set_log_level_mask (ORTP_LOG_DOMAIN, ORTP_FATAL);
}
% gcc a.c  `pkg-config --cflags --libs ortp`
/usr/bin/ld: /tmp/ccnMlrim.o: undefined reference to symbol 'bctbx_set_log_level_mask'
/usr/bin/ld: /lib/x86_64-linux-gnu/libbctoolbox.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
% gcc a.c  `pkg-config --cflags --libs ortp` -lbctoolbox
% ./a.out

So I think "-lbctoolbox" should be added to ortp.pc,
probably via "Requires:".

-- System Information:
Debian Release: 11.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-0.bpo.2-amd64 (SMP w/24 CPU threads)
Kernel taint flags: TAINT_DIE, TAINT_WARN
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libortp-dev:amd64 depends on:
ii  libbctoolbox-dev  4.4.13-2
ii  libortp15         1:4.4.13-2

libortp-dev:amd64 recommends no packages.

libortp-dev:amd64 suggests no packages.

-- no debconf information



More information about the Pkg-voip-maintainers mailing list