Page 1 of 1

json error in meshctl

Posted: Mon Apr 23, 2018 8:27 am
by Gabriel_Actimage
Hello,
I am trying to use a PI3 as a provisioner for a bluetooth mesh network.

I meet the following error:

Code: Select all

pi@raspberrypi:~/bluez-5.49$ meshctl
Waiting to connect to bluetoothd...Failed to parse local node configuration file local_node.json
pi@raspberrypi:~/bluez-5.49$
I started from a fresh raspbian image and did the following:
In order to enable the crypto configuration (see here: https://code4food.net/2017/11/25/enable ... -raspbian/), I recompiled the kernel following this tutorial : https://www.raspberrypi.org/documentati ... uilding.md

I installed Bluez utility version 5.49 using

Code: Select all

cd PATH_TO_BLUEZ
./configure --enable-mesh --enable-debug
make
sudo make install
as well as Json-c

Code: Select all

git clone https://github.com/json-c/json-c.git
cd PATH_TO_JSON_C
sh autogen.sh
./configure
make
sudo make install
Any idea of what I'm doing wrong?

Re: json error in meshctl

Posted: Mon Jul 02, 2018 5:51 pm
by pi3reat
Hi. did you get any success in this? :roll: :roll:
I am getting Illegal instruction whenever I run meshctl.
I am on rip w 0 with kernel 4.14.34 using blueZ 5.50
please share your insights !
Rgds,
rp

Re: json error in meshctl

Posted: Fri Jul 26, 2019 10:27 am
by malviyagt
Hi All
I am still getting the following error.
sbin/ldconfig: /lib/ld-linux.so.3 is the dynamic linker, ignoring

ld-linux-armhf.so.3 -> ld-linux.so.3
/usr/lib:
libBLT.2.5.so.8.6 -> libBLT.2.5.so.8.6
libkeybinder.so.0 -> libkeybinder.so.0.1.0
libwiringPiDev.so -> libwiringPiDev.so.2.50
libpigpiod_if2.so.1 -> libpigpiod_if2.so.1
libpigpiod_if.so.1 -> libpigpiod_if.so.1
libpyglib-2.0-python2.7.so.0 -> libpyglib-2.0-python2.7.so.0.0.0
libjson-c.so.3 -> libjson-c.so.3.0.1
libRTIMULib.so.7 -> libRTIMULib.so.7.2.1
libell.so.0 -> libell.so.0.0.1
libresid-builder.so.0 -> libresid-builder.so.0.0.1
libsidplay2.so.1 -> libsidplay2.so.1.0.1
libhardsid-builder.so.0 -> libhardsid-builder.so.0.0.1
libwiringPi.so -> libwiringPi.so.2.50
libident.so.0 -> libident.so.0.22
libBLTlite.2.5.so.8.6 -> libBLTlite.2.5.so.8.6
libsigc-1.2.so.5 -> libsigc-1.2.so.5.0.7
libpigpio.so.1 -> libpigpio.so.1
/usr/lib/arm-linux-gnueabihf/neon: (hwcap: 0x0000000000001000)
/usr/lib/arm-linux-gnueabihf/neon/vfp: (hwcap: 0x0000000000001040)
libx264.so.155 -> libx264.so.155
root@raspberrypi:~/bluez-5.50# meshctl
Failed to parse local node configuration file local_node.json
root@raspberrypi:~/bluez-5.50#

Any update on this how to resolve this error.
Br
malviyagt