[asterisk-bugs] [JIRA] (ASTERISK-29693) Using --with-crypto and --with-ssl fails on a recompile

Friendly Automation (JIRA) noreply at issues.asterisk.org
Thu Oct 21 07:20:49 CDT 2021


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

Friendly Automation commented on ASTERISK-29693:
------------------------------------------------

Change 16618 merged by Friendly Automation:
BuildSystem: Check for alternate openssl packages

[https://gerrit.asterisk.org/c/asterisk/+/16618|https://gerrit.asterisk.org/c/asterisk/+/16618]

> Using --with-crypto and --with-ssl fails on a recompile
> -------------------------------------------------------
>
>                 Key: ASTERISK-29693
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29693
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 16.21.1, 18.7.1
>         Environment: CentOS 7.4
> GCC 4.8.4
>            Reporter: George Joseph
>            Severity: Major
>
> With a pristine work tree...
> Configure command line:
> {noformat}
> $ ./configure --with-spandsp --libdir=/usr/lib64 --with-jansson-bundled --with-pjproject-bundled --with-ssl=/usr/lib64/openssl11 --with-crypto=/usr/lib64/openssl11 CFLAGS=-I/usr/include/openssl11
> $ make main
> {noformat}
> results in a clean build of main/asterisk.
> {noformat}
> $ make clean
> $ make main
> {noformat}
>  results in:
> {noformat}
> p.o enum.o features.o http.o indications.o logger.o manager.o named_acl.o plc.o sounds.o udptl.o -> asterisk
> ./libasteriskpj.so: undefined reference to `SSL_state'
> ./libasteriskpj.so: undefined reference to `sk_value'
> ./libasteriskpj.so: undefined reference to `SSL_library_init'
> ./libasteriskpj.so: undefined reference to `RAND_egd'
> ./libasteriskpj.so: undefined reference to `sk_pop_free'
> ./libasteriskpj.so: undefined reference to `SSLv23_method'
> ./libasteriskpj.so: undefined reference to `SSLv23_server_method'
> ./libasteriskpj.so: undefined reference to `SSL_get_ex_new_index'
> ./libasteriskpj.so: undefined reference to `sk_num'
> ./libasteriskpj.so: undefined reference to `SSL_load_error_strings'
> collect2: error: ld returned 1 exit status
> make[1]: *** [asterisk] Error 1
> make: *** [main] Error 2
> {noformat}
> You have to do a make distclean and re-run ./configure to get the compile to succeed again.



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



More information about the asterisk-bugs mailing list