Error building XFree86-Clients
Dan Nelson
dnelson at allantgroup.com
Sat Aug 9 11:50:59 PDT 2003
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 at allantgroup.com
More information about the freebsd-questions
mailing list