[asterisk-bugs] [JIRA] (ASTERISK-30296) Undefined symbol on naive RockyLinux 8 system

George Joseph (JIRA) noreply at issues.asterisk.org
Fri Nov 11 06:16:08 CST 2022


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

George Joseph edited comment on ASTERISK-30296 at 11/11/22 6:15 AM:
--------------------------------------------------------------------

I tried this yesterday in a Rocky 8 docker container using the same versions and it worked fine.   If you're still around today, can you reproduce and attach a zip file with the following files...
* config.log
* config.status
* makeopts
* menuselect.makeopts
* menuselect.makedeps
* menuselect-tree
* include/asterisk/autoconfig.h

Also try after running ./bootstrap.sh to re-create ./configure.

Oh, anything non-standard about the environment?  For instance, are you using compat-openssl10-1.0.2o instead of openssl-1.1.1.k?



was (Author: gtj):
I tried this yesterday in a Rocky 8 docker container using the same versions and it worked fine.   If you're still around today, can you reproduce and attach a zip file with the following files...
* config.log
* config.status
* makeopts
* menuselect.makeopts
* menuselect.makedeps
* menuselect-tree
* include/asterisk/autoconfig.h

Also try after running ./bootstrap.sh to re-create ./configure.



> 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
>            Assignee: 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