EasyCwmp - easycwmp
View Issue Details
0000307easycwmp[All Projects] Helppublic2018-01-11 06:072019-01-31 14:57
normalminorhave not tried
ubuntulinux - ubuntu 16.04 LTS
0000307: ubus installation fail due to missing -lblobmsg_json
I have installed json-c, libubox by using the guide, but I am unable to finish the installation for ubus due to the unable to locate -lblobmsg_json.

Any suggestion?
error, Openwrt, ubuntu, ubus
png VirtualBox_2018-01-11_12-59-22.png (42,158) 2018-01-11 06:07
Issue History
2018-01-11 06:07parcorpNew Issue
2018-01-11 06:07parcorpFile Added: VirtualBox_2018-01-11_12-59-22.png
2018-01-12 02:39parcorpTag Attached: error
2018-01-12 02:39parcorpTag Attached: ubuntu
2018-01-12 02:39parcorpTag Attached: ubus
2018-01-12 05:04parcorpTag Attached: Openwrt
2018-01-12 09:53mohamed.kallelNote Added: 0000831
2018-01-12 09:56mohamed.kallelNote Edited: 0000831bug_revision_view_page.php?bugnote_id=831#r358
2019-01-31 14:57bmiramontNote Added: 0000929

2018-01-12 09:53   
(edited on: 2018-01-12 09:56)
libblobmsg_json is a part of libubox.
You have to build and install libubox first. And then you have to make a:
sudo ln -sf /usr/local/lib/libblobmsg_json /usr/lib/libblobmsg_json.so

2019-01-31 14:57   
before compiling libubox, you'll need this package : libjson-c-dev
install in ubuntu with
apt install -y libjson-c-dev

otherwise libubox compiles ok but does not compile and install libblobmsg_json
So you won't have any error but the lib won't be present hence ubus won't compile.