espressif / esp-idf-template

Template application for https://github.com/espressif/esp-idf
Other
335 stars 201 forks source link

Cannot use Menuconfig due to old libncurs dependency #5

Closed vanthome closed 7 years ago

vanthome commented 7 years ago

When I do make menuconfig, you can see below why it fails -- I'm having a very recent setup under Gentoo Linux and I'm using Ncurses 6. So what can I do?

MENUCONFIG                                                                                                                                                                              
/esp/esp-idf/tools/kconfig/mconf: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory                     
/esp/esp-idf/make/common.mk:10: /esp/loratracker/build/include/config/auto.conf: No such file or directory                                              
make: *** [/esp/esp-idf/make/project_config.mk:59: menuconfig] Error 127

user@client11 ~/esptest/loratracker $ ldd /esp/esp-idf/tools/kconfig/mconf
        linux-vdso.so.1 (0x00007ffe2b7de000)
        libncursesw.so.5 => not found
        libc.so.6 => /lib64/libc.so.6 (0x00007f987f324000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f987f6bd000)
user@client11 ~/esptest/loratracker $ 
baoshi commented 7 years ago

Maybe you can do a "make clean" under /esp/esp-idf-tools/kconfig, this will force mconf etc to rebuild in your next make menuconfig

vanthome commented 7 years ago

I have downgraded my system to 5, now it works. If I encounter it again and will try. If it does not work, I will reopen this.