Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Aug 2003 13:50:52 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        "Patrick O'Reilly" <bsd@perimeter.co.za>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Error building XFree86-Clients
Message-ID:  <20030809185052.GB43222@dan.emsphone.com>
In-Reply-To: <200308092048.23949.bsd@perimeter.co.za>
References:  <200308092048.23949.bsd@perimeter.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 09), Patrick O'Reilly said:
> I have a number of XFree86 Font ports which will not upgrade from 4.2
> to 4.3, and in each case the error is as below.
> 
> I'm afraid the error "/usr/libexec/elf/ld: cannot find -lXfont" does
> not mean much to me!
> 
> Can anyone give a pointer here?
> 
> <snip>
> --->  Installing the new version via the port
> ===>   XFree86-fontEncodings-4.3.0 depends on executable: ucs2any - not found
> ===>    Verifying reinstall for ucs2any in /usr/ports/x11/XFree86-4-clients
> ===>  Building for XFree86-clients-4.3.0_2
> making all in lib/lbxutil/lbx_zlib...
> making all in lib/lbxutil/delta...
> making all in lib/lbxutil/image...
> making all in programs/appres...
> making all in programs/bdftopcf...
> rm -f bdftopcf
> cc -o bdftopcf -O -pipe -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef     
> -L/u
> sr/ports/x11/XFree86-4-clients/work/xc/exports/lib   bdftopcf.o -lXfont 
> -lfntstu
> bs  -L/usr/X11R6/lib  -lz -lm   -Wl,-rpath,/usr/X11R6/lib
> /usr/libexec/elf/ld: cannot find -lXfont
> *** Error code 1
> Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/bdftopcf.
> *** Error code 1
> </snip>

$ pkg_which /usr/X11R6/lib/libXfont.a
XFree86-libraries-4.3.0_5

Make sure your XFree86-libraries install is up-to-date.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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