Janus launch failure, undefined symbol

628 views
Skip to first unread message

Chris H

unread,
Jul 4, 2019, 4:57:02 AM7/4/19
to meetecho-janus
Hi all,

I have recently started upgrading from Janus 0.2.5 to 0.7.2 and have run into an issue when trying to launch Janus, the error message is as follows:

"/opt/janus/bin/janus: symbol lookup error: /opt/janus/bin/janus: undefined symbol: srtp_crypto_policy_set_aes_gcm_256_16_auth"

I have libsrtp 2.2.0 installed and while looking for a solution I saw this post:

In the post there is the mention of libsrtp >2.0 not having the symbol, is this correct?

When i was configuring Janus 0.7.2 I saw the following:
checking for srtp_init in -lsrtp2... yes
checking srtp2/srtp.h usability... yes
checking srtp2/srtp.h presence... yes
checking for srtp2/srtp.h... yes
checking for srtp_crypto_policy_set_aes_gcm_256_16_auth in -lsrtp2... yes

Which suggests it does contain the symbol?

I never worked on the original software (I am quite inexperienced in software in general) so please excuse me if the solution is obvious.

If anyone has any suggestions it would be much appreciated.

Thanks in advance.
Chris.

Mykola Mokhnach

unread,
Jul 4, 2019, 5:09:17 AM7/4/19
to meetecho-janus
try to start janus like

LD_LIBRARY_PATH=/usr/lib ./janus

Chris H

unread,
Jul 4, 2019, 5:39:21 AM7/4/19
to meetecho-janus
Yes that worked! I thought I had already tried that but I have reinstalled dependancies and rebuilt since then so perhaps something else was wrong as well.

Thank you very much for that.
Chris.
Reply all
Reply to author
Forward
0 new messages