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

Error on install for Windows #8

Open
hathawayj opened this issue Nov 7, 2015 · 1 comment
Open

Error on install for Windows #8

hathawayj opened this issue Nov 7, 2015 · 1 comment

Comments

@hathawayj
Copy link

I cannot get this package to install on Windows 10. I am also a newbie to Ruby. Any help is appreciated. Does it have something to do with 64 and 32 bit?

c:\rubydev>gem install levenshtein-ffi
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing levenshtein-ffi:
ERROR: Failed to build gem native extension.

C:/tools/ruby21/bin/ruby.exe extconf.rb

creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
generating levenshtein-x64-mingw32.def
compiling levenshtein.c
linking shared-object levenshtein.so
Cannot export Init_levenshtein: symbol not defined
collect2.exe: error: ld returned 1 exit status
make: *** [levenshtein.so] Error 1

make failed, exit code 2

Gem files will remain installed in C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/levenshtein-ffi-1.1.0 for inspection.
Results logged to C:/tools/ruby21/lib/ruby/gems/2.1.0/extensions/x64-mingw32/2.1.0/levenshtein-ffi-1.1.0/gem_make.out

@WilliamSBunin
Copy link

Did you ever figure out a way for this to work?

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