FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
747 views 14 comments
by anonymous
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?

jw

1 Answer

+1 vote
by anonymous

Hello,

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.

Regards,

Best answer
by anonymous
thanks,

so after running menuconfig and adding * beside package you want install. Do you save that as a new .config file? Then "make"?
by anonymous
Yes save and make.
by anonymous
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.
by anonymous
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?
by anonymous

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