PJSIP module error: undefined symbol pj_ssl_cipher_name

#1

CentOS Linux release 7.6.1810 (Core)
Linux localhost.localdomain 5.0.7-1.el7.elrepo.x86_64
Asterisk 16.3.0 built by root

I have these errors:

  1. After Asterisk start:
[Apr 16 10:39:01] ERROR[7799] loader.c: Error loading module 'res_pjsip_dlg_options.so', missing dependency: res_pjsip
[Apr 16 10:39:01] ERROR[7799] loader.c: Error loading module 'res_pjsip_one_touch_record_info.so', missing dependencies: res_pjsip, res_pjsip_session
  1. After executing module load res_pjsip.so into CLI:
[Apr 16 10:43:29] ERROR[7940] loader.c: Error loading module 'res_pjsip.so': /usr/lib/asterisk/modules/res_pjsip.so: undefined symbol: pj_ssl_cipher_name

I really had an external pjproject-2.8 before, but I did full uninstall and compile Asterisk with bundle version:

first I’ve execute make uninstall into pjproject dir
then I’ve removed libs: rm -f /usr/lib/libpj*.a /usr/lib/libmilenage*.a /usr/lib/pkgconfig/libpjproject.pc
after I made ldconfig and ldconfig -p | grep pj show me Total: 0
after I gone to src/asterisk dir and made make uninstall
after I made ./contrib/scripts/install_prereq install
after I made ./configure --with-jansson-bundled
after I made make && make install

But issue is still remains. Can you help to solve it?

Some additional info:

ls -al /usr/lib/asterisk/modules/*pj*

-rwxr-xr-x 1 root root  753848 Apr 16 10:38 /usr/lib/asterisk/modules/chan_pjsip.so
-rwxr-xr-x 1 root root  309632 Apr 16 10:38 /usr/lib/asterisk/modules/func_pjsip_aor.so
-rwxr-xr-x 1 root root  312432 Apr 16 10:38 /usr/lib/asterisk/modules/func_pjsip_contact.so
-rwxr-xr-x 1 root root  299344 Apr 16 10:38 /usr/lib/asterisk/modules/func_pjsip_endpoint.so
-rwxr-xr-x 1 root root  341016 Apr 16 10:38 /usr/lib/asterisk/modules/res_hep_pjsip.so
-rwxr-xr-x 1 root root  314144 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjproject.so
-rwxr-xr-x 1 root root  316584 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_acl.so
-rwxr-xr-x 1 root root  338840 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_authenticator_digest.so
-rwxr-xr-x 1 root root  370472 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_caller_id.so
-rwxr-xr-x 1 root root  418832 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_config_wizard.so
-rwxr-xr-x 1 root root  305448 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_dialog_info_body_generator.so
-rwxr-xr-x 1 root root  358240 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_diversion.so
-rwxr-xr-x 1 root root  334240 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_dlg_options.so
-rwxr-xr-x 1 root root  340592 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_dtmf_info.so
-rwxr-xr-x 1 root root  328248 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_empty_info.so
-rwxr-xr-x 1 root root  316784 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_endpoint_identifier_anonymous.so
-rwxr-xr-x 1 root root  377024 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_endpoint_identifier_ip.so
-rwxr-xr-x 1 root root  327776 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_endpoint_identifier_user.so
-rwxr-xr-x 1 root root  373096 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_exten_state.so
-rwxr-xr-x 1 root root  370184 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_header_funcs.so
-rwxr-xr-x 1 root root  394160 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_history.so
-rwxr-xr-x 1 root root  308440 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_logger.so
-rwxr-xr-x 1 root root  422408 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_messaging.so
-rwxr-xr-x 1 root root  288384 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_mwi_body_generator.so
-rwxr-xr-x 1 root root  431584 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_mwi.so
-rwxr-xr-x 1 root root  361576 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_nat.so
-rwxr-xr-x 1 root root  414664 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_notify.so
-rwxr-xr-x 1 root root  339648 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_one_touch_record_info.so
-rwxr-xr-x 1 root root  320408 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_outbound_authenticator_digest.so
-rwxr-xr-x 1 root root  413456 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_outbound_publish.so
-rwxr-xr-x 1 root root  492032 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_outbound_registration.so
-rwxr-xr-x 1 root root  354888 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_path.so
-rwxr-xr-x 1 root root  337504 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_phoneprov_provider.so
-rwxr-xr-x 1 root root  294816 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_pidf_body_generator.so
-rwxr-xr-x 1 root root  289448 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_pidf_digium_body_supplement.so
-rwxr-xr-x 1 root root  289608 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_pidf_eyebeam_body_supplement.so
-rwxr-xr-x 1 root root  373328 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_publish_asterisk.so
-rwxr-xr-x 1 root root  662232 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_pubsub.so
-rwxr-xr-x 1 root root  440272 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_refer.so
-rwxr-xr-x 1 root root  424024 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_registrar.so
-rwxr-xr-x 1 root root  342096 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_rfc3326.so
-rwxr-xr-x 1 root root  521064 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_sdp_rtp.so
-rwxr-xr-x 1 root root  340784 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_send_to_voicemail.so
-rwxr-xr-x 1 root root  619432 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_session.so
-rwxr-xr-x 1 root root  300792 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_sips_contact.so
-rwxr-xr-x 1 root root 2071944 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip.so
-rwxr-xr-x 1 root root  447600 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_t38.so
-rwxr-xr-x 1 root root  398472 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_transport_websocket.so
-rwxr-xr-x 1 root root  294360 Apr 16 10:38 /usr/lib/asterisk/modules/res_pjsip_xpidf_body_generator.so

cat asterisk.conf | grep lib

astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astdbdir => /var/lib/asterisk
astkeydir => /var/lib/asterisk
astdatadir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin

ldconfig -p | grep pj

        libasteriskpj.so.2 (libc6,x86-64) => /usr/lib/libasteriskpj.so.2
        libasteriskpj.so (libc6,x86-64) => /usr/lib/libasteriskpj.so

asterisk -rx 'module show' | grep pj

res_pjproject.so               PJPROJECT Log and Utility Support        1          Running              core
0 Likes

Installing asterisk 16 on centos 7