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

Issue installing 3.1.13 on Rpi, Ubuntu 18.04 LTS #229

Open
lebigsquare opened this issue Jun 25, 2020 · 0 comments
Open

Issue installing 3.1.13 on Rpi, Ubuntu 18.04 LTS #229

lebigsquare opened this issue Jun 25, 2020 · 0 comments

Comments

@lebigsquare
Copy link

Found an issue when installing Bcrypt 3.1.13 on ruby 2.5.1 (or 2.5.3). This was to enable the Devise gem for authentication.

Hardware Rpi 3B+
Docker container Ubuntu 18.04 LTS
Rails 6.0.2.2

running Gem install bcrypt -v '3.1.13' I get :

current directory: /home/dev/.rvm/gems/ruby-2.5.1/gems/bcrypt-3.1.13/ext/mri
make "DESTDIR=" clean

current directory: /home/dev/.rvm/gems/ruby-2.5.1/gems/bcrypt-3.1.13/ext/mri
make "DESTDIR="
linking shared-object bcrypt_ext.so
gcc: error: bcrypt_ext.o: No such file or directory
gcc: error: crypt_blowfish.o: No such file or directory
gcc: error: x86.o: No such file or directory
gcc: error: crypt_gensalt.o: No such file or directory
gcc: error: wrapper.o: No such file or directory
Makefile:257: recipe for target 'bcrypt_ext.so' failed
make: *** [bcrypt_ext.so] Error 1

Checked the gem files that remain after a failed install, couldn't find any reference to bcrypt_ext.so . Also checked the previous issue with x86.o referencing the '@progbits'. changed it to '%progbits'. re-ran the gem install but still no luck.

In the end I installed 3.1.12 and referenced it BEFORE the gem devise the Rails Gemfile and it ran the bundle install with no issues.

I guess this fixes it, but would be good to install the latest version.

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

1 participant