Bug#1037524: libortp: still missing -lbctoolbox (was: Bug#994437: fixed in ortp 1:5.0.37-1)

Frank Heckenbach f.heckenbach at fh-soft.de
Tue Jun 13 19:25:28 BST 2023


Package: libortp-dev
Version: 1:5.1.64-2
Severity: normal


> This is an automatic notification regarding your Bug report
> which was filed against the libortp-dev package:
>
> #994437: libortp: missing -lbctoolbox
>
> It has been closed by Debian FTP Masters <ftpmaster at ftp-master.debian.org>
> (reply to Bernhard Schmidt <berni at debian.org>).
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Debian FTP Masters <ft=
> pmaster at ftp-master.debian.org> (reply to Bernhard Schmidt <berni at debian.org=
> >) by
> replying to this email.

It's actually not fixed!

You added a "Requires.private" in the .pc, but that doesn't help.
"Requires" is required (sic!) because a program that links to ortp
apparently must also link to bctoolbox.

My original test program still applies:

% 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



More information about the Pkg-voip-maintainers mailing list