8298 questions

9759 answers


13863 members

0 votes
229 views 14 comments
Running make menuconfig for the SDK (RUTX_R_GPL_00.02.06.1.tar.gz) on a pristine Ubuntu 16.04 machine results in a failure where the file libncursesw.so.6 cannot be found.  All of the packages listed in the instructions were successfully installed. This particular file does not appear to be available in a Ubuntu package.

I am following the "RUTX Software Development Kit instructions" found at https://wiki.teltonika-networks.com/view/RUTX_Software_Development_Kit_instructions

The 'make' command completes successfully, but the make menuconfig command fails almost immediately.

Here are the commands required to recreate the failure:

tar -xf RUTX_R_GPL_00.02.06.1.tar.gz
cd openwrt-gpl-ipq40xx-generic.Linux-x86_64

make menuconfig

This results in the following error:
scripts/config/mconf: error while loading shared libraries: libncursesw.so.6: cannot open shared object file: No such file or directory
/home/stsuser/openwrt-gpl-ipq40xx-generic.Linux-x86_64/include/toplevel.mk:145: recipe for target 'menuconfig' failed

I did find the source code for libncursesw.so.6, but once that was installed, make menuconfig threw other errors complaining about the GLIBC version on the Ubuntu machine.

As mentioned, this is a pristine Ubuntu 16.04 installation on AWS spun up for this purpose.

Any suggestions?


1 Answer

+1 vote


The SDK ships with precompiled files, just remove them:

tar -xf RUTX_R_GPL_00.02.06.1.tar.gz
cd openwrt-gpl-ipq40xx-generic.Linux-x86_64
cd scripts/config ; rm *.o conf; cd ../../

You should be able to run make menuconfig after that.


Best answer

so after running menuconfig and adding * beside package you want install. Do you save that as a new .config file? Then "make"?
Yes save and make.
You can also reflash the router using bin/targets/ipq40xx/generic/tltFws/RUTX_R_GPL_00.02.06.1_WEBUI.bin it is the same file as openwrt-ipq40xx-generic-teltonika_rutx-squashfs-sysupgrade.bin not sure if the name will change anything.
it asks for you to name the .conf file when saving. Is this irrevelant? Just give it any name and this not required when you make?

ok sorry just exit dont save the file. Got it. thanks. It asks you to save when you are exiting.