Subject: Re: OpenOffice fails with undefined ref to XOpenDisplay
To: None <tech-pkg@netbsd.org>
From: Sean J. Schluntz <schluntz@workofstone.com>
List: tech-pkg
Date: 10/12/2002 20:58:30
>>>> [modified] LDFLAGS+= -L${X11PREFIX}/lib -Wl,-R${X11PREFIX}/lib
>
>> >So the change above actually is TRT for the moment IMHO. 
>> 
>> Just added to the main Makefile?  I tried this yesterday but after
>> 7 hours of compiling it ran out of disk space so I have to start
>> it again to run over night :/
>
>yes. I haven't tested it, but from looking at the old x11.buildlink.mk code
>that's approximately what has happened before. (The -L${PREFIX}/lib that was
>originally in that line as well should get added somewhere else already and
>can be left out.)

Yep, that fixed it on my system.  OpenOffice came up just fine afterwards
with no other compile problems.

-Sean