[poppler] Static build

Jason Crain jason at inspiresomeone.us
Tue Dec 4 17:13:10 UTC 2018


On 2018-12-04, Ranjan Ghosh <ghosh at pw6.de> wrote:
> [ 71%] Linking CXX executable pdftocairo
> /usr/bin/ld: /usr/local/lib/libcairo.a(cairo-image-surface.o): in function
> `_cairo_image_surface_finish':
> /usr/src/cairo/src/cairo-image-surface.c:846: undefined reference to
> `pixman_image_unref'
> /usr/bin/ld: /usr/local/lib/libcairo.a(cairo-image-surface.o): in function
> `_cairo_image_surface_init':
> /usr/src/cairo/src/cairo-image-surface.c:164: undefined reference to
> `pixman_image_get_data'
> /usr/bin/ld: /usr/src/cairo/src/cairo-image-surface.c:169: undefined
> reference to `pixman_image_get_width'
> /usr/bin/ld: /usr/src/cairo/src/cairo-image-surface.c:170: undefined
> reference to `pixman_image_get_height'
> /usr/bin/ld: /usr/src/cairo/src/cairo-image-surface.c:171: undefined
> reference to `pixman_image_get_stride'
> /usr/bin/ld: /usr/src/cairo/src/cairo-image-surface.c:172: undefined
> reference to `pixman_image_get_depth'
> /usr/bin/ld: /usr/local/lib/libcairo.a(cairo-image-surface.o): in function
> `_pixman_format_from_masks':
> 
> Any help on how to overcome this problem would be much appreciated.

Did you link to pixman? It's a dependency of cairo.


More information about the poppler mailing list