Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2005 20:29:42 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Vizion <vizion@vizion.occoxmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: libmagic files missing??
Message-ID:  <20050910002942.GA65927@xor.obsecurity.org>
In-Reply-To: <200509091546.46732.vizion@vizion.occoxmail.com>
References:  <200509091546.46732.vizion@vizion.occoxmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--2oS5YaxWCcQjTEyO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 09, 2005 at 03:46:46PM -0700, Vizion wrote:
> Hi
>=20
> 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
>=20
> I am getting compile problems over libmagic and am wondering how I can be=
=20
> 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
--2oS5YaxWCcQjTEyO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDIij2Wry0BWjoQKURAiTEAKDUBTHC2Tgj76fvrl70KDeKcIw5dgCff/18
6LbCGuGIBvw8q6DkK5eUq7c=
=7yo7
-----END PGP SIGNATURE-----

--2oS5YaxWCcQjTEyO--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050910002942.GA65927>