libmagic files missing??

Giorgos Keramidas keramida at ceid.upatras.gr
Fri Sep 9 17:19:56 PDT 2005


On 2005-09-09 15:46, Vizion <vizion at vizion.occoxmail.com> 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.
>
> 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
>
> /usr/ports/lang/php5-extensions compile reporting it cannot find libmagic
>
> Can anyone please  point a fingure in the right direction

Do you have a log of the build errors?

You can generate a log file of the complete process by running:

	# script ~/logfile
	Script started, output file is /root/logfile
	# cd /usr/ports/lang/php5-extensions
	# make install
	[...]

	# exit
	exit

	Script done, output file is /root/logfile
	#



More information about the freebsd-questions mailing list