On Sun, Oct 7, 2012 at 4:00 AM, Jon Schipp <[email protected]> wrote: > More Info for the Ubuntu Desktop 12.04 system. > > The below file doesn't exist. I don't know if this has anything to do > with it since it is libcurses rather than > libNcurses. > > # grep -R CURSES_LIBRARY * > build/CMakeCache.txt:CURSES_CURSES_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libcurses.so > apt-cache search libcurses doesn't provide anything except a few perl > packages. > > # apt-cache search libcurses > libruby - Transitional package for libruby1.8 > libruby1.8 - Libraries necessary to run Ruby 1.8 > libcurses-ocaml - OCaml bindings for the ncurses library > libcurses-ocaml-dev - OCaml bindings for the ncurses library > libcurses-perl - Curses interface for Perl > libcurses-ui-perl - curses-based OO user interface framework for Perl > libcurses-widgets-perl - Curses widget interface for Perl > > # ls -l /usr/lib/x86_64-linux-gnu/libncurses* > -rw-r--r-- 1 root root 294004 Nov 18 2011 > /usr/lib/x86_64-linux-gnu/libncurses.a > -rw-r--r-- 1 root root 157584 Nov 18 2011 > /usr/lib/x86_64-linux-gnu/libncurses++.a > -rw-r--r-- 1 root root 31 Nov 18 2011 > /usr/lib/x86_64-linux-gnu/libncurses.so > -rw-r--r-- 1 root root 157584 Nov 18 2011 > /usr/lib/x86_64-linux-gnu/libncurses++w.a > -rw-r--r-- 1 root root 390674 Nov 18 2011 > /usr/lib/x86_64-linux-gnu/libncursesw.a > -rw-r--r-- 1 root root 32 Nov 18 2011 > /usr/lib/x86_64-linux-gnu/libncursesw.so > > # ls -l /usr/lib/x86_64-linux-gnu/libcurses* > lrwxrwxrwx 1 root root 12 Nov 18 2011 > /usr/lib/x86_64-linux-gnu/libcurses.a -> libncurses.a > lrwxrwxrwx 1 root root 13 Nov 18 2011 > /usr/lib/x86_64-linux-gnu/libcurses.so -> libncurses.so > > # ls -l /lib/x86_64-linux-gnu/libncurses* > lrwxrwxrwx 1 root root 17 Oct 5 10:06 > /lib/x86_64-linux-gnu/libncurses.so.5 -> libncurses.so.5.9 > -rw-r--r-- 1 root root 133808 Nov 18 2011 > /lib/x86_64-linux-gnu/libncurses.so.5.9 > lrwxrwxrwx 1 root root 18 Oct 5 10:06 > /lib/x86_64-linux-gnu/libncursesw.so.5 -> libncursesw.so.5.9 > -rw-r--r-- 1 root root 183072 Nov 18 2011 > /lib/x86_64-linux-gnu/libncursesw.so.5.9 > > Thanks > Jon > > On Sat, Oct 6, 2012 at 9:48 PM, Jon Schipp <[email protected]> wrote: >> Hello all, >> >> I'm having a little trouble with the libncurses dependency on Ubuntu >> Desktop 12.04 and Ubuntu Server 12.04. >> It looks like libncurses5 is already installed by default. I went >> ahead and installed the dev package: libncurses5-dev >> >> $ dpkg -l | grep libncurses >> ii libncurses5 5.9-4 >> shared libraries for terminal handling >> ii libncurses5-dev 5.9-4 >> developer's libraries for ncurses >> ii libncursesw5 5.9-4 >> shared libraries for terminal handling (wide character >> support >> >> These are the only libncurses libraries in the repo. I tried >> installing the libncursesw5-dev package too. >> >> # apt-cache search libncurses >> libncurses5 - shared libraries for terminal handling >> libncurses5-dbg - debugging/profiling libraries for ncurses >> libncurses5-dev - developer's libraries for ncurses >> libncursesw5 - shared libraries for terminal handling (wide character >> support) >> libncursesw5-dbg - debugging/profiling libraries for ncursesw >> libncursesw5-dev - developer's libraries for ncursesw >> centerim-utf8 - A text-mode multi-protocol instant messenger client >> libncurses-gst - Ncurses bindings for GNU Smalltalk >> libncurses-ruby - Transitional package for ruby-ncurses >> libncurses-ruby1.8 - Transitional package for ruby-ncurses >> libncurses-ruby1.9 - Transitional package for ruby-ncurses >> libncurses-ruby1.9.1 - Transitional package for ruby-ncurses >> libncursesada-dbg - Ada binding to the ncurses text interface library: >> debug symbols >> libncursesada-doc - Ada binding to the ncurses text interface library: >> documentation >> libncursesada2 - Ada binding to the ncurses text interface library: >> shared library >> libncursesada2-dev - Ada binding to the ncurses text interface >> library: development >> ruby-ncurses - ruby extension for the ncurses C library >> >> Using cmake I still get: >> >> -- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH) >> libncurses is missing on target. Skipping ifpps build. >> -- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH) >> libncurses is missing on target. Skipping flowtop build. >> >> I've never had this problem before. I haven't been able to solve it >> yet. Any tips?
Hmm, the usual cmake pain. For libncurses, we use the buit-in cmake modul to fin it. Can you try to create a symlink to /usr/lib/libcurses.so that points to your actual path? --
