/usr/libexec/elf/ld: cannot find -lXfont

Aaron Dalton aaron at finch.st
Sun Aug 31 07:16:39 PDT 2003


Please excuse my ignorance.  I cvsup'd my ports tree and used 
portupgrade to upgrade everything but I can't get 
XFree86-FontServer-4.3.0 or Clients to install due to the following 
error after making:

making all in programs/bdftopcf...
rm -f bdftopcf
cc -o bdftopcf -O -pipe -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef     
-L/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib   bdftopcf.o 
-lXfont -lfntstubs  -L/usr/X11R6/lib  -lz -lm   
-Wl,-rpath,/usr/X11R6/lib
/usr/libexec/elf/ld: cannot find -lXfont
*** Error code 1

and for the FontServer:

ar clq libdifs.a main.o dispatch.o extensions.o globals.o events.o 
tables.o 	fontinfo.o charinfo.o swapreq.o swaprep.o resource.o 	fonts.o 
difsutils.o cache.o initfonts.o atom.o
ranlib libdifs.a
LD_LIBRARY_PATH=/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/lib 
cc -o xfs -O -pipe -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef     
-L/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/lib  
-L/usr/X11R6/lib  difs/libdifs.a difs/libdifs.a os/libos.a  
-L/usr/X11R6/lib    
-L/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/lib  
-L/usr/X11R6/lib -lXfont -lfntstubs   -lm -lz  
-Wl,-rpath,/usr/X11R6/lib
/usr/libexec/elf/ld: cannot find -lXfont
*** Error code 1

Where is this library "Xfont" supposed to be?  Thank you so much for 
your time.

Cheers!
-- 
Aaron Dalton
aaron at finch.st
http://aaron.finch.st



More information about the freebsd-questions mailing list