Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 288 Vote(s) - 3.64 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Missing library while installing ruby-filemagic gem on Linux

#1
I needed gem ruby-filemagic for some requirements in my project. While running bundle install its giving me this error


*** ERROR: missing required library to compile this module
*** extconf.rb failed ***

Please help me with this problem.
Reply

#2
If you're using an **alpine** distribution and cannot use apt-get, try this:

``
apk add musl libmagic file file-dev imagemagick
``
Reply

#3
If you install gem ruby-filemagic on an EC2 instance, login as root and use this command

yum install file file-devel
Reply

#4
Running `brew install libmagic` before `gem install ruby-filemagic` on OSX made my installation of ruby-filemagic successful.
Reply

#5
`sudo apt-get install libmagic-dev` did it for me
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through