Hi It seems like the libraries configure is able to find when compiling are different from those the runtime linker can find.
You probably need to find where libncursesw.so.6 is and make sure ld.so is searching that directory. On Sun, May 28, 2017 at 11:54:24PM -0400, Tri Nguyen wrote: > Hi, > > I am using Bash on Windows, and trying to compile tmux from source. > > Ia**ve done the following steps: > > $ git clone https://github.com/tmux/tmux.git > $ autogen.sh > $ configure > $ make > $ make install > > All steps completed successfully. > > However, when I run tmux, I have the following error: > > $ tmux -V > tmux: error while loading shared libraries: libncursesw.so.6: cannot open > shared object file: No such file or directory > > When I check out the 2.4 tag to build, I get the same error. > > I have the following ncurses libraries installed > > $ apt search libncurses > Sorting... Done > Full Text Search... Done > libncurses-gst/xenial 3.2.5-1build2 all > Ncurses bindings for GNU Smalltalk > > libncurses5/xenial,now 6.0+20160213-1ubuntu1 amd64 [installed] > shared libraries for terminal handling > > libncurses5-dbg/xenial 6.0+20160213-1ubuntu1 amd64 > debugging/profiling libraries for ncurses > > libncurses5-dev/xenial,now 6.0+20160213-1ubuntu1 amd64 [installed] > developer's libraries for ncurses > > libncursesada-dbg/xenial 5.9.20140726-1build1 amd64 > Ada binding to the ncurses text interface library: debug symbols > > libncursesada-doc/xenial 5.9.20140726-1build1 all > Ada binding to the ncurses text interface library: documentation > > libncursesada3/xenial 5.9.20140726-1build1 amd64 > Ada binding to the ncurses text interface library: shared library > > libncursesada3-dev/xenial 5.9.20140726-1build1 amd64 > Ada binding to the ncurses text interface library: development > > libncursesw5/xenial,now 6.0+20160213-1ubuntu1 amd64 [installed] > shared libraries for terminal handling (wide character support) > > libncursesw5-dbg/xenial 6.0+20160213-1ubuntu1 amd64 > debugging/profiling libraries for ncursesw > > libncursesw5-dev/xenial,now 6.0+20160213-1ubuntu1 amd64 [installed] > developer's libraries for ncursesw > > Does anyone know what might be wrong here, and how I can fix it? > > a** > > -- > You received this message because you are subscribed to the Google Groups > "tmux-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
