Could NOT find LIBBFD

package 'zlib' not found , package 'libcurl' not found

"package" means a package config file e.g. /usr/lib64/pkgconfig/zlib.pc

Please use yum to decide a package name, like :

yum provides */libbfd.so
yum provides */zlib.pc
yum provides */libz.so
yum provides */libcurl.pc
yum provides */libcurl.so

Installing the packages :

# yum install binutils-devel zlib-devel libcurl-devel

Ref. comment about kcov :

"kcov" : # yum install elfutils-devel

cd build/ && cmake .. && make
.
.
[ 98%] Building C object src/CMakeFiles/kcov-system-daemon.dir/version.c.o
Linking CXX executable kcov-system-daemon
[100%] Built target kcov-system-daemon
Answer from Knud Larsen on Stack Overflow
🌐
GitHub
github.com › bsc-performance-tools › extrae › issues › 25
Configure does not detect libbfd · Issue #25 · bsc-performance-tools/extrae
February 26, 2019 - If you have installed the binutils ... or libiberty are not found. Please make sure that the binutils-dev package is installed and specify where to find these libraries through --with-binutils....
Author   bsc-performance-tools
Discussions

c++ - BFD Library not found - Stack Overflow
You didn't tell g++ to 'link with libbfd', so in 'link' phase, it couldn't find the functions provided by libbfd. More on stackoverflow.com
🌐 stackoverflow.com
libraries - libbfd-2.22.so missing while compiling Binutils/Glibc/Zlib - Unix & Linux Stack Exchange
When I try to compile Binutils, Glibc and Zlib using chroot on my LFS system, I get this error: ar: error while loading shared libraries: libbfd-2.22.so: cannot open shared object file: No such f... More on unix.stackexchange.com
🌐 unix.stackexchange.com
How does ld find the path to libbfd? - C++ Forum
If I run strace on a machine that ...linux-gnu/libbfd-2.26.1-system.so ...) = 3 etc.. I am being brief and cryptic above just to illustrate the basic flow. The difference in the case of the one that does not work is that the path to the open command is incorrect - I just don't know why - is it package-related? If you need more detail, I'll have to put together a more detailed analysis. But I'm wondering, is it cache-related and if so, should I clear my caches out or should I find the incorrect ... More on cplusplus.com
🌐 cplusplus.com
November 5, 2018
fails on ubuntu14.04: cannot load libbfd-2.26.1-system.so
I did make deb on ubuntu 16.04 and then installed on ubuntu 14.04. Executing dosemu2 on ubuntu 14.04 gives this error: /usr/bin/dosemu.bin: error while loading shared libraries: libbfd-2.26.1-syste... More on github.com
🌐 github.com
7
July 14, 2017
🌐
LinuxQuestions.org
linuxquestions.org › questions › linux-from-scratch-13 › libbfd-2-34-so-not-found-4175671454
[SOLVED] libbfd-2.34.so not found
March 16, 2020 - I have gotten to chapter 6.18 of the book (book version SVN-20200315), and I try to make binutils, and get this error. Code: ar rc ./libiberty.a \ ./re
🌐
Stack Exchange
unix.stackexchange.com › questions › 44441 › libbfd-2-22-so-missing-while-compiling-binutils-glibc-zlib
libraries - libbfd-2.22.so missing while compiling Binutils/Glibc/Zlib - Unix & Linux Stack Exchange
In Ubuntu current version, I need symlink: sudo ln -s /usr/lib/libbfd-2.24.51-system.20140727.so /usr/lib/libbfd-2.24-system.so ... It is not supported in Ubuntu 20.4.
🌐
Cplusplus
cplusplus.com › forum › unices › 245461
How does ld find the path to libbfd? - C++ Forum
November 5, 2018 - If I run strace on a machine that does NOT have any problems with ld, I would get an strace -v that looks something like this in the beginning: CORRECT ld, or at least good enough to link, let's say: execve("/usr/bin/ld", .......) = 0 brk(Null) access(/etc/ld.so.nohwcap) access(/etc/ld.so.preload) open(/etc/ld.so.cache ... fstat mmap close(3) access(/etc/ld.so.nohwcap... open("/usr/lib/x86_64-linux-gnu/libbfd-2.26.1-system.so ...) = 3 etc.. I am being brief and cryptic above just to illustrate the basic flow. The difference in the case of the one that does not work is that the path to the open command is incorrect - I just don't know why - is it package-related? If you need more detail, I'll have to put together a more detailed analysis. But I'm wondering, is it cache-related and if so, should I clear my caches out or should I find the incorrect entry and edit them?
🌐
GitHub
github.com › dosemu2 › dosemu2 › issues › 408
fails on ubuntu14.04: cannot load libbfd-2.26.1-system.so · Issue #408 · dosemu2/dosemu2
July 14, 2017 - My workaround is making a softlink /usr/lib/libbfd-2.24-system.so to libbfd-2.26.1-system.so :
Author   dosemu2
Find elsewhere
🌐
CMake Discourse
discourse.cmake.org › usage
.cmake fail to find libbfd header file bfd.h - Usage - CMake Discourse
July 6, 2023 - Hi, Configuring bpftrace-0.17.1 (GitHub - iovisor/bpftrace: High-level tracing language for Linux eBPF) during build phase failing in finding libbfd header file (bfd.h). bpftrace cmake structure is given below. bpftrace-0.17.1 ├── build ├── CMakeLists.txt ├── cmake ├── FindLibBfd.cmake └── CHECK_CXX_SOURCE_COMPILES(" #include // See comment in bfd-disasm.cpp for why this needs to exist #define PACKAGE \"bpftrace-test\" #include #include ...
🌐
The Mail Archive
mail-archive.com › freebsd-pkg-fallout@freebsd.org › msg1854050.html
[package - 130releng-armv7-quarterly][games/openclonk] Failed for openclonk-8.1_3 in build
-- Could NOT find libbfd (missing: LIBBFD_LIBRARY LIBBFD_INCLUDE_DIR) -- BACKWARD_HAS_UNWIND=1 -- BACKWARD_HAS_BACKTRACE=0 -- BACKWARD_HAS_BACKTRACE_SYMBOL=1 -- BACKWARD_HAS_DW=0 -- BACKWARD_HAS_BFD=0 -- Could NOT find Backward (missing: BACKWARD_LIBRARIES) CMake Warning at CMakeLists.txt:303 (find_package): Found package configuration file: /wrkdirs/usr/ports/games/openclonk/work/openclonk-release-8.1-src/thirdparty/backward-cpp/BackwardConfig.cmake but it set Backward_FOUND to FALSE so package "Backward" is considered to be NOT FOUND.
🌐
GitHub
github.com › anbox › anbox › issues › 1787
-- Could NOT find libdw 、 libbfd 、 libdwarf · Issue #1787 · anbox/anbox
April 11, 2021 - -- Could NOT find libdw 、 libbfd 、 libdwarf #1787 · Copy link · Labels · decaying · gsgtleo · opened · on Apr 11, 2021 · Issue body actions · Please check that no similar bug is already reported. Have a look on the list of open bugs at https://github.com/anbox/anbox/issues ·
Author   anbox
🌐
GitHub
github.com › mlpack › mlpack › issues › 1982
No libBFD and/or libDL has been found! · Issue #1982 · mlpack/mlpack
I think on Debian the package you are searching for is libbfd-dev but as I said, you can ignore the warning in most cases.
Author   mlpack
🌐
Gentoo Forums
forums.gentoo.org › viewtopic-t-406726-start-0.html
Gentoo Forums :: View topic - Can't find libbfd
November 27, 2005 - FAQ | Search | Memberlist | Usergroups | Statistics | Profile | Log in to check your private messages | Log in | Register · Links: forums.gentoo.org | www.gentoo.org | bugs.gentoo.org | wiki.gentoo.org | forum-mods@gentoo.org
🌐
GitHub
github.com › mlpack › mlpack › issues › 1351
Build Error · Issue #1351 · mlpack/mlpack
April 3, 2018 - I don't know why this error was occurred. I found some doubt message and is it related to this error? -- Could NOT find LIBBFD (missing: LIBBFD_BFD_LIBRARY LIBBFD_INCLUDE_DIRS) CMake Warning at CMakeLists.txt:178 (message): No libBFD and/or libDL has been found!
Author   mlpack
🌐
GitHub
github.com › microsoft › vcpkg › issues › 21749
alembic Could not find a package configuration file provided by "Alembic" with any of the following names: · Issue #21749 · microsoft/vcpkg
November 29, 2021 - -- pybind11 v2.6.3 dev1 -- Build spdlog: 1.4.1 -- Build type: Release -- Could NOT find libdw (missing: LIBDW_LIBRARY LIBDW_INCLUDE_DIR) -- Could NOT find libbfd (missing: LIBBFD_LIBRARY LIBBFD_INCLUDE_DIR LIBDL_LIBRARY LIBDL_INCLUDE_DIR) -- Could NOT find libdwarf (missing: LIBDWARF_LIBRARY LIBDWARF_INCLUDE_DIR LIBELF_LIBRARY LIBELF_INCLUDE_DIR LIBDL_LIBRARY LIBDL_INCLUDE_DIR) found package: OpenMP::OpenMP_CXX *** Building ZENO with extension: ZenoFX found package: OpenMP::OpenMP_CXX *** Building ZENO with extension: oldzenbase found package: OpenMP::OpenMP_CXX *** Building ZENO with extensio
Author   microsoft
🌐
GNU
lists.nongnu.org › archive › html › simulavr-devel › 2005-02 › msg00001.html
Re: [Simulavr-devel] libbfd???
February 6, 2005 - Preben Mikael Bohn wrote: Yes, always the same problem but allways the same solution:-) The simpliest way is the compile your binutils again: simply type "make" in your binutils directory. After that check for libbfd.a and libiberty.a. If you could not find the files in the directories: ...
🌐
Stack Overflow
stackoverflow.com › questions › 68165111 › problem-when-compiling-program-using-libbfd-bfd-library
c++ - Problem when compiling program using libbfd (bfd library) - Stack Overflow
is it possible to solve the error under windows (because I am using libbfd to analyse PE file on windows) ... Could NOT find LIBBFD (missing: LIBBFD_BFD_LIBRARY LIBBFD_IBERTY_LIBRARY LIBBFD_OPCODES_LIBRARY LIBBFD_INCLUDE_DIRS)
🌐
Narkive
binutils.sourceware.narkive.com › CPVaEbWP › avr-how-to-locate-libbfd-to-build-avr-tool
AVR: How to locate libbfd to build AVR tool
I believe the following search order is the best I can reasonably do: 1. if user provides explicit include/lib directories, use those of course 2. else if my packages $exec_prefix/$host/avr has libbfd files I need, use that 3. else look in path for avr-readelf (i.e. any somewhat arbitrary binutils program), back up one directory to discover the avr-binutils' exec_prefix..then use that $avr_exec_prefix/$host/avr if the libbfd files are found 4. else can't find...print useful message to user to help them solve the problem How does that sound? Anyone have a better idea for me? Have I overlooked any problems with this approach? Thanks again. Thanks in particular for your patience...I bet if I knew GNU autotools better I could have found this out on my own.