0

Ubuntu 22.04 (jammy) packages a libcairo.a static library in the libcairo2-dev package at version 1.16.0-5ubuntu2. But as of Ubuntu 24.04 (noble), that file no longer appears in the corresponding package at version 1.18.0-3build1.

I checked the Cairo upstream changelog, and there's nothing to indicate that support for static builds of libcairo was removed.

I'm building software that links against libcairo and needs to be distributed as a static binary, so I can't build it without a libcairo.a on the system.

Where did the libcairo.a file I need go? Where would I find a changelog entry about it being deliberately removed from the package by the packagers for Ubuntu? Has it moved to a different package?

Is the recommended workflow for compiling statically linked libcairo2-dependent applications on Ubuntu 24.04 to install a version of libcairo2 from source, instead of using one from the repositories?

interfect
  • 662

0 Answers0