undefined symbol: json_vsprintf

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

undefined symbol: json_vsprintf

Postby covarrubiasgg » Thu Mar 18, 2021 8:46 pm

I had to format and restore a server today after the hard-drives died, but I encounter a new issue with Vicibox 9.0.3

After I made an zypper update and ignore the error for Pyton Repo, asterisk were crashing...

This was shown in the logs

Code: Select all
    asterisk: symbol lookup error: asterisk: undefined symbol: json_vsprintf


The only way to fix it was by doing:

Code: Select all
zypper install libjansson4-2.13.1-lp152.29.1.x86_64


This install libjansson4 with a vendor change and it did fix the error.
covarrubiasgg
 
Posts: 420
Joined: Thu Jun 10, 2010 10:20 am
Location: Tijuana, Mexico

Re: undefined symbol: json_vsprintf

Postby carpenox » Fri Mar 19, 2021 2:35 am

yes and lock that package with zypper al libjansson4
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: undefined symbol: json_vsprintf

Postby Kumba » Fri Mar 19, 2021 8:38 am

The fix was added under the patch notes thread. Doing the above might break in the future, so please refer to the patch thread for the other method.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Re: undefined symbol: json_vsprintf

Postby covarrubiasgg » Tue Mar 23, 2021 3:44 pm

Kumba wrote:The fix was added under the patch notes thread. Doing the above might break in the future, so please refer to the patch thread for the other method.



Awesome, tnx :D

Cant wait for Vicibox 10 :D
covarrubiasgg
 
Posts: 420
Joined: Thu Jun 10, 2010 10:20 am
Location: Tijuana, Mexico

Re: undefined symbol: json_vsprintf

Postby arpit.modi » Fri Apr 30, 2021 2:27 am

Hi,

I am using vicibox 9 with:
VERSION: 2.14-810a
BUILD: 210421-2227

And I am also facing the same issue. Asterisk is being crashed within a minute as soon as we start it.

Asterisk CLI shows the same error:

Code: Select all
asterisk: symbol lookup error: asterisk: undefined symbol: json_vsprintf



I also tried installing "zypper install libjansson4-2.13.1-lp152.29.1.x86_64" as mentioned.
Here is the output:
Code: Select all
vici9:~ # zypper install libjansson4-2.13.1-lp152.29.1.x86_64
Retrieving repository 'openSUSE-Leap-15.1-Devel-Languages-Python' metadata ...........................................................................................................[error]
Repository 'openSUSE-Leap-15.1-Devel-Languages-Python' is invalid.
[openSUSE-Leap-15.1-Devel-Languages-Python|http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Leap_15.1/] Valid metadata not found at specified URL
History:
 - [|] Error trying to read from 'http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Leap_15.1/'
 - Download (curl) error for 'http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Leap_15.1/content':
Error code: Connection failed
Error message:


Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'openSUSE-Leap-15.1-Devel-Languages-Python' because of the above error.
Problem retrieving files from 'openSUSE-Leap-15.1-Oss'.
Download (curl) error for 'http://download.opensuse.org/distribution/leap/15.1/repo/oss/repodata/repomd.xml':
Error code: Connection failed
Error message:

Please see the above error message for a hint.
Warning: Skipping repository 'openSUSE-Leap-15.1-Oss' because of the above error.
Problem retrieving files from 'openSUSE-Leap-15.1-PERL'.
Download (curl) error for 'http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_Leap_15.1/repodata/repomd.xml':
Error code: Connection failed
Error message:

Please see the above error message for a hint.
Warning: Skipping repository 'openSUSE-Leap-15.1-PERL' because of the above error.
Problem retrieving files from 'openSUSE-Leap-15.1-PHP-Applications'.
Download (curl) error for 'http://download.opensuse.org/repositories/server:/php:/applications/openSUSE_Leap_15.1/repodata/repomd.xml':
Error code: Connection failed
Error message:

Please see the above error message for a hint.
Warning: Skipping repository 'openSUSE-Leap-15.1-PHP-Applications' because of the above error.
Problem retrieving files from 'openSUSE-Leap-15.1-Update'.
Download (curl) error for 'http://download.opensuse.org/update/leap/15.1/oss/repodata/repomd.xml':
Error code: Connection failed
Error message:

Please see the above error message for a hint.
Warning: Skipping repository 'openSUSE-Leap-15.1-Update' because of the above error.
Problem retrieving files from 'openSUSE-Leap-15.1-ViciDial'.
Download (curl) error for 'http://download.opensuse.org/repositories/home:/vicidial/openSUSE_Leap_15.1/repodata/repomd.xml':
Error code: Connection failed
Error message:

Please see the above error message for a hint.
Warning: Skipping repository 'openSUSE-Leap-15.1-ViciDial' because of the above error.
Problem retrieving files from 'openSUSE-Leap-15.1-ViciDial-Ast13'.
Download (curl) error for 'http://download.opensuse.org/repositories/home:/vicidial:/asterisk-13/openSUSE_Leap_15.1/repodata/repomd.xml':
Error code: Connection failed
Error message:

Please see the above error message for a hint.
Warning: Skipping repository 'openSUSE-Leap-15.1-ViciDial-Ast13' because of the above error.
Some of the repositories have not been refreshed because of an error.
Loading repository data...
Reading installed packages...
Package 'libjansson4-2.13.1-lp152.29.1.x86_64' not found.
Resolving package dependencies...

Nothing to do.


Please suggest and help.

Thanks in advance.
arpit.modi
 
Posts: 40
Joined: Wed Apr 22, 2009 7:09 am

Re: undefined symbol: json_vsprintf

Postby carpenox » Fri Apr 30, 2021 6:31 am

zypper in home_vicidial:libjansson4
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: undefined symbol: json_vsprintf

Postby arpit.modi » Fri Apr 30, 2021 7:10 am

It worked. Actually it was my network which was blocking the traffic.
Thanks for the help.
arpit.modi
 
Posts: 40
Joined: Wed Apr 22, 2009 7:09 am

Re: undefined symbol: json_vsprintf

Postby carpenox » Sat Jun 12, 2021 10:57 am

I wanted to add this incase anyone faces the same issue i did recently on a scratch install. The OS I have used is leap 15.2, and the home_vicidial:libjansson4 nor the sandbox:libjansson4 versions worked to stop this error from happening. Once I installed this version: https://digip.org/jansson/releases/jans ... 3.1.tar.gz

It worked.

I hope this helps

-nox
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 50 guests