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

George Joseph (JIRA) noreply at issues.asterisk.org
Mon Oct 18 08:09:50 CDT 2021


George Joseph created ASTERISK-29693:
----------------------------------------

             Summary: 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: 18.7.1, 16.21.1
         Environment: CentOS 7.4
GCC 4.8.4
            Reporter: George Joseph


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