[Home]

Summary:ASTERISK-30082: Getting this error while installing Asterisk 16 on Debian 9
Reporter:Balkrishna Rola (balkrishnar@intellicon.in)Labels:
Date Opened:2022-05-26 02:10:49Date Closed:2022-05-30 01:15:31
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Configs/Basic-PBX
Versions:16.26.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:[LD] abstract_jb.o acl.o adsi.o alaw.o alertpipe.o aoc.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o astobj2_container.o astobj2_global.o astobj2_hash.o astobj2_rbtree.o audiohook.o autochan.o autoservice.o backtrace.o bridge.o bridge_after.o bridge_basic.o bridge_channel.o bridge_roles.o bucket.o callerid.o channel.o channel_internal_api.o chanvars.o cli.o codec.o codec_builtin.o config_options.o conversions.o core_local.o core_unreal.o crypt.o data_buffer.o datastore.o db.o devicestate.o dial.o dns.o dns_core.o dns_naptr.o dns_query_set.o dns_recurring.o dns_srv.o dns_system_resolver.o dns_test.o dns_tlsa.o dns_txt.o endpoints.o event.o features_config.o file.o fixedjitterbuf.o format.o format_cache.o format_cap.o format_compatibility.o frame.o framehook.o fskmodem.o global_datastores.o hashtab.o heap.o image.o io.o iostream.o jitterbuf.o json.o loader.o lock.o logger_category.o manager_bridges.o manager_channels.o manager_endpoints.o manager_mwi.o manager_system.o max_forwards.o md5.o media_cache.o media_index.o message.o mixmonitor.o mwi.o named_locks.o netsock2.o optional_api.o options.o parking.o pbx.o pbx_app.o pbx_builtins.o pbx_functions.o pbx_hangup_handler.o pbx_ignorepat.o pbx_include.o pbx_sw.o pbx_switch.o pbx_timing.o pbx_variables.o pickup.o poll.o presencestate.o privacy.o rtp_engine.o say.o sched.o sdp_srtp.o security_events.o sem.o serializer.o sha1.o sip_api.o slinfactory.o smoother.o sorcery.o srv.o stasis.o stasis_bridges.o stasis_cache.o stasis_cache_pattern.o stasis_channels.o stasis_endpoints.o stasis_message.o stasis_message_router.o stasis_system.o stdtime/localtime.o strcompat.o stream.o stringfields.o strings.o stun.o syslog.o taskprocessor.o tcptls.o tdd.o term.o test.o threadpool.o threadstorage.o time.o timing.o translate.o ulaw.o uri.o utf8.o utils.o uuid.o version.o xml.o xmldoc.o ccss.o cdr.o cel.o config.o dnsmgr.o dsp.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_SESSION_is_resumable'
collect2: error: ld returned 1 exit status
Makefile:319: recipe for target 'asterisk' failed
make[1]: *** [asterisk] Error 1
Makefile:393: recipe for target 'main' failed
make: *** [main] Error 2
root@debian:/usr/src/asterisk-16.26.1#
Comments:By: Asterisk Team (asteriskteam) 2022-05-26 02:10:50.298-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. Please note that log messages and other files should not be sent to the Sangoma Asterisk Team unless explicitly asked for. All files should be placed on this issue in a sanitized fashion as needed.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

Please note that by submitting data, code, or documentation to Sangoma through JIRA, you accept the Terms of Use present at [https://www.asterisk.org/terms-of-use/|https://www.asterisk.org/terms-of-use/].

By: Joshua C. Colp (jcolp) 2022-05-26 07:31:41.940-0500

Did you have an older version of Asterisk installed previously that worked? Is this only happening with 16.26.1? What version of OpenSSL is present in Debian 9?

By: Balkrishna Rola (balkrishnar@intellicon.in) 2022-05-26 23:13:11.567-0500

Thanks for the replay.
This is fresh installation.
Debian 9.9.mate amd

By: Balkrishna Rola (balkrishnar@intellicon.in) 2022-05-27 05:12:53.256-0500

Thanks for the support
Installation done successfully with Asterisk version 16.13.0.
Thanks again,

By: Kevin Harwell (kharwell) 2022-05-27 11:46:39.919-0500

It seems that [SSL_SESSION_is_resumable|https://www.openssl.org/docs/man1.1.1/man3/SSL_SESSION_is_resumable.html] was added to openssl in version {{OpenSSL 1.1.1.}}, which pjproject [now uses|https://github.com/pjsip/pjproject/blob/master/pjlib/src/pj/ssl_sock_ossl.c#L2306] this call in {{2.12+}}. As well it appears Debian 9.9 [installs with|https://packages.debian.org/source/stretch/openssl1.0] {{OpenSSL 1.0.2u}}.

Immediate fixes would be to either upgrade your version of openssl (required if you need to use Asterisk 16.26+), or use Asterisk version 16.25.1 or below.

By: Sean Bright (seanbright) 2022-05-27 14:01:50.425-0500

Looks like this is getting patched in pjproject:

https://github.com/pjsip/pjproject/pull/3120

By: Balkrishna Rola (balkrishnar@intellicon.in) 2022-05-30 01:15:31.179-0500

Thanks for the support
Installation done successfully with Asterisk version 16.13.0.
Thanks again,