MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: mysql: error while loading shared libraries: libncurses.so.6
Posted by: Dave Kennard
Date: January 26, 2016 09:35AM

I think I've found the problem (mysql is compiling at the moment, so I can't test it yet).

Rather than setting -DCURSES_LIBRARY (or just as well as) you need to specify -DCURSES_NCURSES_LIBRARY.

So the relevant part of my configure now looks like:
-DCURSES_FORM_LIBRARY=$HOME/apps/ncurses/lib/libform.so -DCURSES_LIBRARY=$HOME/apps/ncurses/lib/libncurses.so -DCURSES_NCURSES_LIBRARY=$HOME/apps/ncurses/lib/libncurses.so -DCURSES_INCLUDE_PATH=$HOME/apps/ncurses/include/ \

CMakeCache.txt indicates it's still looking for the curses lib in the wrong place, but I presume that curses isn't actually used and ncurses is used instead, so that doesn't matter.

Well, I'll find out in a couple of hours or so when it's built.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: mysql: error while loading shared libraries: libncurses.so.6
3629
January 26, 2016 09:35AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.