libmagic files missing??

Kris Kennaway kris at obsecurity.org
Fri Sep 9 17:29:44 PDT 2005


On Fri, Sep 09, 2005 at 03:46:46PM -0700, Vizion wrote:
> Hi
> 
> Here is the listing of:
> /usr/src/lib/libmagic
> dns1# ls -l
> total 1276
> -rw-r--r--  1 root  wheel     1619 Dec 16  2004 Makefile
> -r--r--r--  1 root  wheel     3859 Apr  2 22:28 Makefile,v
> -rw-r--r--  1 root  wheel     5783 Aug  9  2004 config.h
> -r--r--r--  1 root  wheel     6277 Apr  2 22:28 config.h,v
> -rw-r--r--  1 root  wheel  1236221 Sep  9 15:34 magic
> -rwxr-xr-x  1 root  wheel    22879 Sep  9 15:34 mkmagic
> 
> I am getting compile problems over libmagic and am wondering how I can be 
> certain that all libmagic files are on the system.

> ls /usr/lib/libmagic.*
/usr/lib/libmagic.a     /usr/lib/libmagic.so    /usr/lib/libmagic.so.1

> dns1# pwd
> /usr/share/misc
> dns1# ls -l | grep magic
> -r--r--r--  1 root  wheel   360801 Nov  4  2004 magic
> -r--r--r--  1 root  wheel   771456 Nov  4  2004 magic.mgc
> -r--r--r--  1 root  wheel    30231 Nov  4  2004 magic.mime
> -r--r--r--  1 root  wheel    41728 Nov  4  2004 magic.mime.mgc

libmagic would not go in that directory anyway.

> /usr/ports/lang/php5-extensions compile reporting it cannot find libmagic

Show the error.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050909/04362a5e/attachment.bin


More information about the freebsd-questions mailing list