Discussion:
Can't locate magic.h on Debian Squeezy
Jean-Pierre Chrétien
2014-06-16 12:35:49 UTC
Permalink
Hello,

I get this when I compile 2.1.x :

<cite>
=== The following minor problems have been detected by configure.
=== Please check the messages below before running 'make'.
=== (see the section 'Problems' in the INSTALL file)

== cannot find magic.h. Please check that the libmagic library
is correctly installed on your system.
Falling back to builtin file format detection.
</cite>

I have packages libmagic ans libmagic1 installed, but magic.h lies in

/usr/include/linux/magic.h

Should I make links in /usr/include, or should I instruct the makefiles to
find it there ?
--
Jean-Pierre
Kornel Benko
2014-06-16 14:23:21 UTC
Permalink
Post by Jean-Pierre Chrétien
Hello,
<cite>
=== The following minor problems have been detected by configure.
=== Please check the messages below before running 'make'.
=== (see the section 'Problems' in the INSTALL file)
== cannot find magic.h. Please check that the libmagic library
is correctly installed on your system.
Falling back to builtin file format detection.
</cite>
I have packages libmagic ans libmagic1 installed, but magic.h lies in
/usr/include/linux/magic.h
Should I make links in /usr/include, or should I instruct the makefiles to
find it there ?
No, you should install libmagic-dev.

Kornel

Loading...