#pkgconfig
The fucky font is due to the X11 compat layer I think, I'm sure that can be fixed at some point. I'm just glad the shit runs. Rust wanted to complain (technically PKGCONFIG complaining) but it was fixable with some dirty nasty hacks.
November 8, 2026 at 3:53 AM
2/6

a/kernel-firmware-20261106_6d6bffb-noarch-1.txz: Upgraded.
a/kernel-generic-7.3.3-x86_64-1.txz: Upgraded.
a/procps-ng-4.0.7-x86_64-3.txz: Rebuilt.
Make sure that the version in the pkgconfig file is correct.
Thanks to lancsuk and fulalas.
November 7, 2026 at 2:01 AM
#rstats folks: I made a script — we-have-a-problem.R — you can use to check your {curl} stack. Current macOS CRAN {curl} is vulnerable. You can fix it now with:

```r
Sys.setenv(PKG_CONFIG_PATH = "/opt/homebrew/opt/curl/lib/pkgconfig")
install.packages("curl", type = "source")
```

provided […]
Original post on mastodon.social
mastodon.social
October 23, 2026 at 12:06 PM
me: then what of cmake, autoconf, and pkgconfig, i can't describe these, yet i know they are on my computer! what are they?

mephistopheles: without substance, as mist is
September 6, 2026 at 4:19 PM
$(pkg-config --cflags --libs hormone)

can be used if your distro has pkg-config and /usr/lib/pkgconfig/hormone.pc
April 30, 2026 at 11:55 PM
The good outcome of this is it now compiles on Mac and several Linux distributions, and windows support seems possible with a little more tidy up (use dune configurator over direct pkgconfig calls)
April 21, 2026 at 12:35 PM
sdl2-compat: Use '-' instead of '_' in pkgconfig file
sdl2-compat: Use '-' instead of '_' in pkgconfig file
github.com
March 30, 2025 at 4:55 PM
I could not find my half measures (I'm not at my computer) but this thing does pretty much the same thing: github.com/bluss/syscon...
GitHub - bluss/sysconfigpatcher: Patch sysconfigdata and pkgconfig files in a python installation from indygreg's python builds.
Patch sysconfigdata and pkgconfig files in a python installation from indygreg's python builds. - bluss/sysconfigpatcher
github.com
December 8, 2024 at 4:23 PM
Rust can't connect network while building
Trying to build a flatpak. But build gets failed in middle. Giving network error. Any help? app-id: org.fcitx.Fcitx5.Addon.OpenBangla runtime: org.fcitx.Fcitx5 runtime-version: 'stable' sdk: org.kde.Sdk//5.15-22.08 sdk-extensions: - org.freedesktop.Sdk.Extension.rust-stable build-extension: true separate-locales: false build-options: prefix: /app/addons/OpenBangla prepend-pkg-config-path: /app/addons/OpenBangla/lib/pkgconfig:/app/addons/OpenBangla/share/pkgconfig append-path: /usr/lib/sdk/rust-stable/bin env: CARGO_HTTP_MULTIPLEXING: false sandbox: --share=ipc --share=network cleanup: - /bin - /include - /lib/pkgconfig - /share/pkgconfig - '*.la' modules: - name: openbangla-keyboard buildsystem: cmake-ninja config-opts: - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_INSTALL_PREFIX=/app/addons/OpenBangla - -DENABLE_FCITX=ON builddir: true sources: - type: git url: https://github.com/OpenBangla/OpenBangla-Keyboard.git tag: develop build-commands: - cmake .. -GNinja - ninja install build-requires: - org.freedesktop.Sdk.Extension.rust-stable//22.08 trying to run using flatpak-builder --force-clean --install-deps-from=flathub --repo=repo --install build-dir org.fcitx.Fcitx5.Addon.OpenBangla.yaml But i am getting some kind of network error when submodule trying to fetch dependency. [12/28] running cargo FAILED: src/engine/riti/x86_64-unknown-linux-gnu/release/libriti.a /run/build/openbangla-keyboard/_flatpak_build/src/engine/riti/x86_64-unknown-linux-gnu/release/libriti.a cd /run/build/openbangla-keyboard/src/engine/riti && /usr/bin/cmake -E env CARGO_TARGET_DIR=/run/build/openbangla-keyboard/_flatpak_build/src/engine/riti /usr/lib/sdk/rust-stable/bin/cargo build --target x86_64-unknown-linux-gnu --release Updating crates.io index warning: spurious network error (3 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io) warning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io) warning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io) error: failed to get `ahash` as a dependency of package `riti v0.1.0 (/run/build/openbangla-keyboard/src/engine/riti)` Caused by: failed to query replaced source registry `crates-io` Caused by: download of config.json failed Caused by: failed to download from `https://index.crates.io/config.json` Caused by: [6] Couldn't resolve host name (Could not resolve host: index.crates.io) [15/28] Building CXX object src/frontend/CMakeFiles/openbangla-gui.dir/Layout.cpp.o ninja: build stopped: subcommand failed. Error: module openbangla-keyboard: Child process exited with code 1 As you can see I gave network permission. What to do?
discourse.flathub.org
January 24, 2025 at 7:37 PM
Like, this was a fix for Flatpak complaining about SDL2 being linked against the wrong version of glibc

And I had to change the system root path in CMake to fix it??

This worked fine *yesterday* until it suddenly decided to become a rabbithole 😵
June 14, 2026 at 7:23 PM
You can condition the linking by putting a conditional in the cabal file:

if os(linux)
pkgconfig-depends…

Let us know what you find. :)
October 29, 2025 at 3:24 PM
It could be interesting to see if using tcmalloc helps during read/write intensive benchmarks. It should be as simple as adding this line in your cabal file:

pkgconfig-depends: libtcmalloc

Check out this example repo github.com/mpickering/g...
GitHub - mpickering/gperftools-ghc-example: Example of finding off-heap memory leaks in Haskell programs
Example of finding off-heap memory leaks in Haskell programs - mpickering/gperftools-ghc-example
github.com
October 29, 2025 at 2:20 PM
Preliminary CMake check failed. Aborting.
Run-time dependency glib-2.0 found: NO (tried pkgconfig and cmake)

HEY
April 15, 2026 at 6:08 PM
it works, at least the client does, but the addon seems to have three more dependencies before it is functional, so now I'm building those. none of them use pkgconfig or even look for their *own* dependencies, so now it's building fuckin gnutls
September 18, 2025 at 8:41 PM
YEAH BABY

(needed to add rpaths to the pkgconfig files for fontconfig and freetype so the linker found the right library versions WHY DO I KNOW ENOUGH LINUX TO BE ABLE TO FIX THIS some knowledge is cursed and ought to be forbidden)
June 12, 2025 at 10:04 AM
omg dnf is amazing. if you get linking errors compiling something you can just do

dnf install 'pkgconfig([dep])' and it just figures it out for you

this is glorious
April 7, 2026 at 1:45 AM
@AlexandreTorres @evefavretto meu problema foi a falta do pkgconfig, mas ele não vem no CLT mesmo. Precisaria compilar mas preguiça
February 2, 2025 at 3:40 AM
I will rearrange how I do it, but my NixOS systems now have a /usr/include and pkgconfig directories. Not counting my OpenVPN server, which is configured mostly differently and sparely, though from the same configuration "flake".

I have made pkg-config a script that runs pkgconf.

The systems […]
Original post on masto.ai
masto.ai
August 15, 2025 at 10:48 AM
However, for hacking, Autotools has to be able to FIND these pkg-config files. So that means I will need not only /usr/include, but also /usr/lib/pkgconfig and /usr/share/pkgconfig.
August 14, 2025 at 10:28 PM