Hi August,
On Fri, May 10, 2013 at 11:33:13AM +0200, August Karlstrom wrote:
> I'm trying to compile Dillo 3.0.3 but I get an error from the linker saying:
>
> /usr/bin/ld: xembed.o: undefined reference to symbol 'XSync'
> /usr/bin/ld: note: 'XSync' is defined in DSO
> /usr/lib/x86_64-linux-gnu/libX11.so.6 so try adding it to the linker
> command line
>
> How do I add -lX11 to the linker command line? I have tried
>
> $ LDLIBS=-lX11 make
>
> but it makes no difference. My OS is Lubuntu 13.04.
Could you please post the linker command line?
You could try
export LDFLAGS=-lX11
and then run configure;make again.
Please let us know how this works. It might be that we are missing
an explicit -lX11 somewhere and rely on fltkconfig --ldflags to add
it - which may not be sufficient in some cases.
Cheers,
Johannes