Subject: Re: OpenOffice fails with undefined ref to XOpenDisplay
To: None <>
From: Jan Schaumann <>
List: tech-pkg
Date: 10/10/2002 16:01:02
"Sean J. Schluntz" <> wrote:
> (subject changed to follow new issue)

(usually, this is done using "New Subject (was: old subject)")

> >Jan Schaumann <> wrote:
> >> But thanks for pointing out the 'test: -O2' -- now if I take out CFLAGS
> >> and CC of /etc/mk.conf, it starts to build. 
> >
> >Hrumph.  Now it builds and builds and then craps out lateron trying to
> >link some binary.  Buildlog at
> >
> >
> >It seems, somewhere along the lines a '-Wl,-R/usr/X11R6/lib' is missing.
> >Now to go and find where...
> Greetings, I just ran in to this exact problem today with my build
> of OpenOffice on NetBSD 1.6-release/i386.  The make breaks in the
> same spot with the same error :/ This is with pkgsrc sup'd yesterday.
> If you figure out the work-around for this I would love to hear it :)


LDFLAGS+=              -L${PREFIX}/lib -L${X11PREFIX}/lib \

to the Makefile fixed the problem.

I doubt this is TRT, though.


"OK, so ten out of ten for style, but minus several million
for good thinking, yeah?"