Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails on systems with ncurses6 only #322

Closed
wimstefan opened this issue Aug 18, 2015 · 7 comments
Closed

Install fails on systems with ncurses6 only #322

wimstefan opened this issue Aug 18, 2015 · 7 comments

Comments

@wimstefan
Copy link

Trying to install fzf I get this error:

Downloading bin/fzf ...

  • Creating symlink: bin/fzf-0.10.3-linux_amd64 -> bin/fzf
  • Checking fzf executable ... /home/swimmer/.fzf/bin/fzf: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory != 0.10.3
  • Creating symlink: bin/fzf-0.10.3-linux_amd64 -> bin/fzf
  • Checking fzf executable ... /home/swimmer/.fzf/bin/fzf: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory != 0.10.3
  • Invalid binary !!!

That happens on a Gentoo system with only ncurses-6.0 installed ...

@junegunn
Copy link
Owner

Thanks for the report, I'll see what I can do.

Since I don't have experience with Gentoo; Is it possible to install ncurses5 as well on the system? Can it be easily done?

@wimstefan
Copy link
Author

As far as I'm aware and capable to try out I'm afraid it's not possible.
The developers are aware of the problems having only ncurses6 installed on a system:
https://bugs.gentoo.org/show_bug.cgi?id=558052

@wimstefan
Copy link
Author

JFYI: the problem seems to be limited to the amd63 platform ... out of curiosity I ran the install script on my laptop which is still on the x86 platform (but with only ncurses6) installed and it competed the install without problems B-)

Downloading bin/fzf ...

  • Creating symlink: bin/fzf-0.10.3-linux_386 -> bin/fzf
  • Checking fzf executable ... 0.10.3

@junegunn
Copy link
Owner

Thanks for the info. I'm mostly on OSX and haven't been able to find Gentoo system to try things out. I was trying to find a docker image for it so I can locally boot up the environment. FYI, I'm building the linux binaries on Arch VM set up with docker; https://github.com/junegunn/fzf/blob/master/src/Dockerfile.arch

@junegunn
Copy link
Owner

@wimstefan Hey, can you check if this statically-linked binary works on the platform?

https://github.com/junegunn/fzf-bin/releases/download/0.10.4/fzf-0.10.4-linux_amd64-static.tgz

If it works, I'm going to update the install script to download it when the dynamic one fails.

junegunn added a commit that referenced this issue Aug 26, 2015
@wimstefan
Copy link
Author

Hi junnegun, I finally had a chance to test it and it works!
Sorry for coming back late :-/

@junegunn
Copy link
Owner

No problem. Thanks for the confirmation. I updated the install script to download the static binary when the dynamic one doesn't run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants