[asterisk-bugs] [JIRA] (ASTERISK-27475) codec_opus requires libcurl

Alexander Traud (JIRA) noreply at issues.asterisk.org
Fri Jan 5 04:24:39 CST 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=241362#comment-241362 ] 

Alexander Traud commented on ASTERISK-27475:
--------------------------------------------

[~samfun], good catch! When one goes for {{ldd /usr/lib/asterisk/modules/codec_opus.so}}, you see the dependencies. This issue got missed because {{libcurl}} is installed as default on many Linux distributions, even on your Ubuntu 16.04 LTS for Desktops.

Currently, the fix was to add ‘curl’ as dependency in {{make menuselect}}. However in the {{./configure}} script of Asterisk, that ‘curl’ is not just the shared library (.so) but also the header files and a tool called {{curl-config}}. Furthermore, {{libcurl-dev}} is a virtual package in Debian/Ubuntu. Consequently to get transcoding for the Opus Codec, one to go for

{{sudo apt install libcurl4-openssl-dev}}

with the upcoming Asterisk 13.19 and Asterisk 15.2. Moreover in Ubuntu 14.04 LTS, that packages requires/installs several other packages, enabling many features in Asterisk as side effect (like SIP-over-TLS, LDAP, …).

Therefore: Could the Digium team double-check whether {{curl}} is really required? Alternatively, the build system should be enhanced to look not for the headers but just for the shared library of curl. I do not have the resources to do that change right now, especially because I do not use the Opus Codec module of Digium personally. Just a suggestion, because this change here is going to create unforeseen support requests.

> codec_opus requires libcurl
> ---------------------------
>
>                 Key: ASTERISK-27475
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27475
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Codecs/codec_opus
>    Affects Versions: 14.7.3, 15.1.3
>         Environment: Ubuntu 16.04
>            Reporter: Samuel For
>            Assignee: Sean Bright
>            Severity: Trivial
>      Target Release: 13.19.0, 15.2.0
>
>
> If libcurl is not present on the platform when building Asterisk everything will still build and codec_opus will be downloaded however there will be not translation path available for Opus.
> Reason is that Opus requires libcurl. Once libcurl is installed then Opus will show up in the translation path.
> Probably should be documented or stated as a requirement next to xmlstarlet in the menuselect options.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list