Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2004 08:38:46 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        Adriaan de Groot <adridg@cs.kun.nl>
Cc:        freebsd-amd64@FreeBSD.org
Subject:   Re: new binutils broken for amd64
Message-ID:  <20040618083846.756260f2.nork@FreeBSD.org>
In-Reply-To: <200406172010.56637.adridg@cs.kun.nl>
References:  <1087442023.22390.2.camel@server.mcneil.com> <20040617081112.GB79565@dragon.nuxi.com> <1087495591.10180.7.camel@server.mcneil.com> <200406172010.56637.adridg@cs.kun.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Jun 2004 20:10:56 +0200
Adriaan de Groot <adridg@cs.kun.nl> wrote:
> On Thursday 17 June 2004 20:06, Sean McNeil wrote:
> > I just did a new make buildworld installworld with /usr/obj empty.  Same
> > issue.  Just doing a
> > portupgrade -f glib-2.4.2
> > will fail with the new linker.  Turns out there are two linkers in
> > /usr/obj.  The one at
> This time I saw it too - linker from yesterday's buildworld caused building 
> XFree-clients to fail during a portupgrade with (paraphrased, since like a 
> total moron I forgot to save the error output): libexpat.so.5 not found. This 
> in spite of libexpat.so.5 being in /usr/local/lib and having -L/usr/local/lib 
> on the compile line.
> Building ld again as described by Sean in his original message fixes the 
> problem.

	Ah, yes, I confirmed it.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	:
cc -o xditview -O -fno-ident -pipe -ansi -Dasm=__asm -Wno-system-headers -Wall -Wpointer-arith -Wundef     -L/tmp/work/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib   xditview.o Dvi.o draw.o font.o lex.o page.o parse.o            XFontName.o DviChar.o `pkg-config xft --libs` -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -L/usr/X11R6/lib  -lm   -Wl,-rpath,/usr/X11R6/lib
/usr/bin/ld: warning: libexpat.so.5, needed by /usr/X11R6/lib/libfontconfig.so, not found (try using -rpath or -rpath-link)
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetElementHandler'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetDoctypeDeclHandler'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserFree'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetCharacterDataHandler'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserCreate'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetUserData'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetErrorCode'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetBuffer'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetCurrentLineNumber'
*** Error code 1

Stop in /tmp/work/usr/ports/x11/XFree86-4-clients/work/xc/programs/xditview.
*** Error code 1

Stop in /tmp/work/usr/ports/x11/XFree86-4-clients/work/xc/programs.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients.
$ ldd /usr/X11R6/lib/libfontconfig.so
/usr/X11R6/lib/libfontconfig.so:
        libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x20094e000)
        libz.so.2 => /lib/libz.so.2 (0x200ad8000)
        libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x200be6000)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



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