[asterisk-bugs] [JIRA] (ASTERISK-23424) Dependency in libsrtp.so included with pjproject breaks build system
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Thu Mar 6 13:27:49 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=216175#comment-216175 ]
Matt Jordan commented on ASTERISK-23424:
----------------------------------------
That can't always be done.
There is not always a {{libsrtp}} for all systems Asterisk builds on.
The correct solution here is to pass {{--with-external-srtp}} to pjproject when it is built, such that it does not provide the SRTP library itself. This is documented on the [wiki page|https://wiki.asterisk.org/wiki/display/AST/Installing+pjproject#Installingpjproject-BuildingandInstallingpjproject] for building/installing pjproject.
> 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: Core/BuildSystem, 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 in this case 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