[cairo] Cairo cannot locate Xlib.h

Petr Kobalíček kobalicek.petr at gmail.com
Sat Sep 5 09:12:47 UTC 2020


Isn't it more of an xlib vs xcb issue?

On Sat, Sep 5, 2020 at 10:43 AM Uli Schlachter <psychon at znc.in> wrote:

> Hi,
>
> Am 05.09.20 um 03:06 schrieb alexandre schenberg:
> > configure:20422: gcc -o conftest -g -O2 conftest.c -lm
> > -L/media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.6.7/lib/ -lX11 >&5
> > /media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.6.7/lib//libX11.so:
> undefined
> > reference to `xcb_wait_for_reply64'
> > /media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.6.7/lib//libX11.so:
> undefined
> > reference to `xcb_poll_for_queued_event'
> > /media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.6.7/lib//libX11.so:
> undefined
> > reference to `xcb_poll_for_reply64'
> > collect2: ld returned 1 exit status
>
> This sounds like your libX11.so is broken. I am not sure what program
> configure is trying to build here, but I bet that libX11.so contains
> those undefined references / does not link against libxcb.so.
>
> Can you compile other programs against this libX11.so?
>
> Google found
>
> https://www.geeks3d.com/20120102/programming-tutorial-simple-x11-x-window-code-sample-for-linux-and-mac-os-x/
> .
> Can you try compiling that program? Does it work?
>
> Cheers,
> Uli
> --
> "Every once in a while, declare peace. It confuses the hell out of your
> enemies"
>  - 79th Rule of Acquisition
> --
> cairo mailing list
> cairo at cairographics.org
> https://lists.cairographics.org/mailman/listinfo/cairo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20200905/31922cd0/attachment.htm>


More information about the cairo mailing list