[asterisk-bugs] [JIRA] (ASTERISK-27995) pjproject_bundled: Find shared libraries in root --with-ssl=PATH.

Alexander Traud (JIRA) noreply at issues.asterisk.org
Mon Jul 30 06:01:54 CDT 2018


Alexander Traud created ASTERISK-27995:
------------------------------------------

             Summary: pjproject_bundled: Find shared libraries in root --with-ssl=PATH.
                 Key: ASTERISK-27995
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27995
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: pjproject/pjsip
    Affects Versions: 15.5.0, 13.22.0
            Reporter: Alexander Traud
            Severity: Minor
         Attachments: 0110-configure-ssl-library-path.patch

The script {{configure}} from Teluu expects shared libraries (.so) in a subfolder called {{./lib}}, when {{--with-xyz=PATH}} is specified. However for OpenSSL, the default location is {{./}} (root) of the source folder = PATH. Furthermore in Asterisk, the script {{configure}} supports both:
* {{./lib}}
* {{./}}

For consistency and because Asterisk is using (only) OpenSSL in PJProject, the attached patch allows both locations, just like Asterisk. To avoid the need for the tool autoconf, not only {{configure.ac}} but the script {{configure}} directly was changed as well. 

Note: This change was rejected by Teluu, because it addressed only one library, the only external library which Asterisk is using in PJProject. Changing all libraries to lib+root like in Asterisk was rejected as well (why ever). However, that means this patch is not remove with the next PJProject release but is going to stay forever.



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



More information about the asterisk-bugs mailing list