[asterisk-bugs] [JIRA] (ASTERISK-23432) Dependency in libsrtp.so included with pjproject breaks build system

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Mar 6 13:27:49 CST 2014


Rusty Newton created ASTERISK-23432:
---------------------------------------

             Summary: Dependency in libsrtp.so included with pjproject breaks build system
                 Key: ASTERISK-23432
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23432
             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