[Bug 1939198] Re: libbz2 does not provide pkg-config

Winston Hoy 1939198 at bugs.launchpad.net
Fri Jun 7 16:34:16 UTC 2024


Thanks Ken, that workaround worked for me. Here's a copy and paste of
what you already described:

$ sudo tee /usr/lib/x86_64-linux-gnu/pkgconfig/bzip2.pc > /dev/null <<'EOF'
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib/x86_64-linux-gnu
includedir=/usr/include

Name: bzip2
Description: Some shit
Version: 1.0.8-5build1
Libs: -L${libdir} -lbz2
Cflags: -I${includedir}
EOF

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzip2 in Ubuntu.
https://bugs.launchpad.net/bugs/1939198

Title:
  libbz2 does not provide pkg-config

Status in bzip2 package in Ubuntu:
  Confirmed

Bug description:
  This package should be patched to provide the needed pc files for pkg-
  config.

  $ apt-cache show libbz2-dev
  Package: libbz2-dev
  Architecture: amd64
  Version: 1.0.8-2
  Multi-Arch: same
  Priority: optional
  Section: libdevel
  Source: bzip2
  Origin: Ubuntu
  ...

  $ pkg-config --libs bzip2
  Package bzip2 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `bzip2.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'bzip2' found

  See: https://gist.github.com/steakknife/4faee8a657db9402cbeb579279156e84
       https://github.com/libimobiledevice/sbmanager/issues/1
       https://askubuntu.com/questions/854776/bzip2-package-install-and-configure-with-sbmanager
       https://sourceforge.net/p/enlightenment/mailman/message/37332028/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bzip2/+bug/1939198/+subscriptions




More information about the foundations-bugs mailing list