[asterisk-bugs] [JIRA] (ASTERISK-23424) Dependency in libsrtp.so included with pjproject breaks build system
capouch (JIRA)
noreply at issues.asterisk.org
Thu Mar 6 01:59:48 CST 2014
capouch created ASTERISK-23424:
----------------------------------
Summary: Dependency in libsrtp.so included with pjproject breaks build system
Key: ASTERISK-23424
URL: https://issues.asterisk.org/jira/browse/ASTERISK-23424
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Resources/res_srtp
Affects Versions: 12.0.0
Environment: Arch Linux 2013.05 x32 3.8.4-1-ARCH (tobias at testing) (gcc version 4.7.2 (GCC) ) #1 SMP PREEMPT
Reporter: capouch
Severity: Minor
Arch Linux ships w/o built-in srtp library. This is detected by the pjproject build system, which as a result builds and installs the included (~third-party/srtp) library. The resulting .so file has a dependency on libpj.so.
This dependency breaks the configure script in two places where the undefined reference to pj_log in libsrtp.so bombs the script, with the result that the Asterisk build system mistakenly thinks there is no srtp library on the machine.
The fix is trivial; add -lsrtp to the set of build libraries specified for the errant tests. Issue is present in both 12.0.0 and 12.1.0.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list