Menu

#73 libmagic header files were not found

librfm
closed-invalid
5
2015-04-09
2015-04-09
No

Hi all.

magic_file function is not detected on my Fedora 23 build-system. 'file' package is a 5.22 version (see http://koji.fedoraproject.org/koji/buildinfo?buildID=614070, clic "info" to see all packaged files).

librfm-5.3.16.0 is not compiled:

checking for magic_file in -lmagic... no
configure: error: *** Shucks! *** Error: libmagic header files were 
not found.  
Debian librfm5 is  "libmagic-dev" or you can obtain 
the original author´s latest version by anonymous 
FTP on ftp.astron.com in the directory /pub/file/file-X.YZ.tar.gz. 
The Debian version adds a number of new magic entries. 
It can be obtained from every site carrying a Debian distribution 
(that is ftp.debian.org and mirrors)
In OpenSUSE/Fedora, the librfm5 is called "file-devel".

I tried to remove magic_file checking in configure.ac (http://fpaste.org/208949/), -lmagic library is not detected, but RPM building finishes.

librfm-5.3.16.0 is compiled fine in Fedora 21 instead.

Discussion

  • Edscott Wilson Garcia

    • status: open --> closed-invalid
     
  • Edscott Wilson Garcia

    This is a bug with the file or file-devel rpm for fedora-23

     
  • Edscott Wilson Garcia

    Note: Librfm and modules will compile if you remove the libmagic test from
    configure, but then mimetype determination by magic (contents of the
    file) will be inactive.

     

Log in to post a comment.

MongoDB Logo MongoDB