[asterisk-bugs] [JIRA] (ASTERISK-30296) Undefined symbol on naive RockyLinux 8 system
Tilghman Lesher (JIRA)
noreply at issues.asterisk.org
Thu Nov 10 10:54:08 CST 2022
Tilghman Lesher created ASTERISK-30296:
------------------------------------------
Summary: Undefined symbol on naive RockyLinux 8 system
Key: ASTERISK-30296
URL: https://issues.asterisk.org/jira/browse/ASTERISK-30296
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Resources/res_pjsip
Affects Versions: 20.0.0
Reporter: Tilghman Lesher
Optimizations remove the symbol pjsip_tls_transport_restart with a naive install of Asterisk 20.0.0 on RockyLinux 8. Turning on DONT_OPTIMIZE resolves the problem.
ERROR[166734]: loader.c:2513 load_modules: Error loading module 'res_pjsip.so': /usr/lib64/asterisk/modules/res_pjsip.so: undefined symbol: pjsip_tls_transport_restart
# strings main/libasteriskpj.so.2 |grep transport_restart
pjsip_tcp_transport_restart
pjsip_udp_transport_restart2
pjsip_udp_transport_restart
pjsip_tcp_transport_restart
pjsip_udp_transport_restart2
pjsip_udp_transport_restart
transport_restarted
pjsip_udp_transport_restart2
pjsip_udp_transport_restart
pjsip_tcp_transport_restart
After turning on DONT_OPTIMIZE:
# strings main/libasteriskpj.so.2 |grep transport_restart
pjsip_udp_transport_restart2
pjsip_tls_transport_restart
pjsip_tcp_transport_restart
pjsip_udp_transport_restart
pjsip_udp_transport_restart
pjsip_udp_transport_restart2
pjsip_tcp_transport_restart
pjsip_tls_transport_restart
transport_restarted
pjsip_tls_transport_restart
pjsip_udp_transport_restart2
pjsip_udp_transport_restart
pjsip_tcp_transport_restart
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list