/usr/libexec/elf/ld: cannot find -lXfont
Kent Stewart
kstewart at owt.com
Sun Aug 31 12:44:15 PDT 2003
On Sunday 31 August 2003 07:16 am, Aaron Dalton wrote:
> 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/e
>xports/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.
It was installed by -libraries and deleted when you updated -server. It
is no longer a part of -server and you have to reinstall -libraries
again. You shouldn't have any problem like this in the future.
Kent
>
> Cheers!
--
Kent Stewart
Richland, WA
http://users.owt.com/kstewart/index.html
More information about the freebsd-questions
mailing list