Skip to content

libfonfconfig appears to depend on having the -dev version installed.

Summary

apps built that use the libfontconfig unit, perhaps via fppdf, will AV unless the libfontconfig-dev is installed.

System Information

  • Operating system: Linux Debian Bookworm
  • Processor architecture: x86-64
  • Compiler version: 3.2.3 Fixes (few days ago)
  • Device: Computer

Steps to reproduce

  • Build, ie, the testfppdf in packages/fcl-pdf/examples, and run it on a system without libfontconfig-dev installed.
  • Run "strings testfppdf | grep libfontconfig.so" on the binary created above.
  • Just grep the source "grep -niR libfontconfig.so"

The last one is easiest, no app needed. As I am sure your are aware, opening, at run time, a library in the libsomething.so form should not happen, it will not be there unless the -dev version of the library has been installed. That makes a symlink, in this case. libfontconfig.so . End users should not be asked to install -dev libraries.

Example Project

packages/fcl-pdf/examples

What is the current bug behavior?

A test app will work perfectly if libfontconfig-dev is installed, will complain it feels like AV if not.

What is the expected (correct) behavior?

End users should not be asked to install -dev libraries.

Relevant logs and/or screenshots

Possible fixes

Rename the library to be opened libfontconfig.so.1

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information