Subject: Re: Running program with qt-1.42 has a problem.
To: Ruey-Shyang Guo <rsguo@ms25.hinet.net>
From: Bill Studenmund <skippy@macro.Stanford.EDU>
List: port-i386
Date: 02/18/1999 10:32:17
On Mon, 15 Feb 1999, Ruey-Shyang Guo wrote:

> Hi,
> Compiling statically seems to does not work. The full message is:
> /usr/lib/exec/ld.so: Undefined symbol "_XSetErrorHandler" called from
> musicbox:/usr/X11R6/libqt.so.1.42 at 0x40169f34
> I think that this is concerned with 'ld.so'.

I think the problem is that libqt needs some X libraries linked in too
which you aren't linking in.

Try also linking in libX11 (i.e. add -l X11 to the final link command).

Take care,

Bill