Need help to install FileMagic on Ubuntu Fiesty

S

Sam Smoot

I'm trying to install FileMagic on Ubuntu. I've done this a number of
times on OS X (swapping out apt-get for macports) like so:

$ apt-get install file
$ curl -O http://grub.ath.cx/filemagic/ruby-filemagic-0.1.1.tar.gz
$ tar -xzf ruby-filemagic-0.1.1.tar.gz
$ cd ruby-filemagic-0.1.1.tar.gz
$ ruby extconf.rb

Then make & make install. I can't seem to manage on Ubuntu though. The
error I'm getting during extconf is:

checking for magic_open() in -lmagic... no
*** ERROR: missing required library to compile this module
*** extconf.rb failed ***

Can anyone help?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,438
Messages
2,571,699
Members
48,796
Latest member
Greg L.
Top