Opendreambox-1.3 - libncurses

  • I'm currently compiling OE for the 7025 using opendreambox version 1.3, and saw a bug that I haven't noticed before. When installing ncurses (the cross version), terminfo files are produced in the misc/run_tic.sh shell script. When cross-compiling, the native "tic" program is used to compile the terminfo files. In OpenEmbedded, the ncurses-native package will compile and install the necessary binaries and libraries in the staging/ directory. The "run_tic.sh" script correctly picks up the correct version of the "tic" binary. So far, so good.


    BUT, and here's the problem, the "ncurses.so.5" library is NOT picked up from the staging/ directory, but comes from the system /usr/lib instead. Might be a missing LD_LIBRARY_PATH or something. I was too lazy to find out, I just installed the missing libraries in /usr/lib and re-started the build. If you happen to already have a suitable libncurses.so.5 in /usr/lib, you will of course never even see the problem.