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

From: Kent Stewart (kstewart_at_owt.com)
Date: 08/31/03

  • Next message: Mikko Työläjärvi: "Re: zmore for bzip2?"
    To: Aaron Dalton <aaron@finch.st>, freebsd-questions@freebsd.org
    Date: Sun, 31 Aug 2003 12:44:11 -0700
    
    

    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
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Mikko Työläjärvi: "Re: zmore for bzip2?"

    Relevant Pages

    • Advice about cvsup ports-all upgrading
      ... I'd like to have an advice about how to behave in case I want to upgrade ... expecially if I use to cvsup all my ports tree. ... So if I portupgrade -r a it would try to upgrade the dependency first, ... make PREFIX=/usr/home/example/local install ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Updating FreeBSD
      ... >I guess what I'm looking for is a simple and fast cron job to do all the ... Use cron to keep your ports tree updated, then use portupgrade -RfaP ... application being upgraded depends), forces the upgrade, upgrades ...
      (comp.unix.bsd.freebsd.misc)
    • Re: error when trying to install mysql 4.1.12.
      ... > upgrade or such using portupgrade. ... # portupgrade -rRN mysql41-server ... a valid build option in the ports tree. ...
      (freebsd-questions)
    • Re: ports hosed
      ... On Sunday 04 April 2004 08:07 am, Kent Stewart wrote: ... > You didn't do a portupgrade -rRa. ... Bottom line here is this: I'm afraid my ports tree may be BFU; ...
      (freebsd-questions)
    • Re: portupgrade -arR fails -> port/pkg-system no longer usable
      ... You need to read /usr/ports/UPDATING to see how to upgrade portupgrade ... I only use ruby with portupgrade so it ... Kent Stewart ...
      (freebsd-questions)