Skip to content
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.

binutils: make libbfd depend on libdl #129

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hundeboll
Copy link

With recent glibc, libbfd depends on libdl. Without this, oprofile fails
do_configure with

arm-cortexa9neon-linux-gnueabi/bin/ld: warning: libdl.so.2, needed by arm-cortexa9neon-linux-gnueabi/sysroot/usr/lib/libbfd.so,
not found (try using -rpath or -rpath-link)

@esben
Copy link
Contributor

esben commented Mar 11, 2016

Did packageqa show this problem? And did it verify the fix?

Add the (r)depends needed to make packageqa happy. The machine specific
additions are needed to avoid failing the cross:binutils build used to
build cross:gcc.

Specifically, libbfd depends on libdl, and without this, oprofile fails
do_configure with:

> arm-cortexa9neon-linux-gnueabi/bin/ld: warning: libdl.so.2, needed by
> arm-cortexa9neon-linux-gnueabi/sysroot/usr/lib/libbfd.so,
> not found (try using -rpath or -rpath-link)
@hundeboll
Copy link
Author

packageqa shows

Package binutils-libbfd NEEDED: libz.so.1 libc.so.6 libdl.so.2

@esben esben modified the milestone: 7.0.0 Sep 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants