Git Product home page Git Product logo

Comments (9)

josevnz avatar josevnz commented on July 1, 2024 5

If you are using Fedora, you only need to do this:

sudo dnf install -y file-devel file-libs

from imhex.

IS4Code avatar IS4Code commented on July 1, 2024 1

@iTrooz Sorry, should have been more descriptive ‒ a search for missing magic.h (for a different software) led me here, but installing file-devel helped only after enabling PowerTools.

from imhex.

WerWolv avatar WerWolv commented on July 1, 2024

This file gets provided by libmagic which, at least on Arch and mingw, gets provided together with the file utility. Make sure you have libmagic properly installed.

from imhex.

Calinou avatar Calinou commented on July 1, 2024

The file and file-libs packages are already installed, and I can't find libmagic using dnf search libmagic 🙁

dnf search magic doesn't bring relevant results either (mainly Python and Perl bindings).

from imhex.

WerWolv avatar WerWolv commented on July 1, 2024

Weird. I'd have thought this is fairly standard on every linux distro. On Arch Linux, the file comes from the core/file package:

➜  include sudo pacman -F /usr/include/magic.h
usr/include/magic.h is owned by core/file 5.39-1

https://www.archlinux.org/packages/core/x86_64/file/

from imhex.

Calinou avatar Calinou commented on July 1, 2024

@laguf1 Per locate libmagic, I have libmagic on my system as /usr/lib64/libmagic.so.1 and /usr/lib64/libmagic.so.1.0.0.

from imhex.

Calinou avatar Calinou commented on July 1, 2024

@laguf1 There's no such package in the Fedora repositories, other than file-libs which I already have installed:

file-libs.x86_64 : Libraries for applications using libmagic

Maybe I have to compile it from source, but that feels kind of sketchy to have to do it for such a common library 🙁

from imhex.

IS4Code avatar IS4Code commented on July 1, 2024

In case someone stumbles upon this: https://serverfault.com/questions/997896/how-to-enable-powertools-repository-in-centos-8

from imhex.

iTrooz avatar iTrooz commented on July 1, 2024

I don't understand, how does this relate to the issue ? Is there a package needed that is in this repository ?

from imhex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.