1 |
Cross building perf needs binutils libs libbfd and libiberity but cross ld cannot find them: |
2 |
# powerpc-g2.19-linux-gnu-ld -lbfd |
3 |
powerpc-g2.19-linux-gnu-ld: cannot find -lbfd |
4 |
|
5 |
This is because libbfd and libiberity are installed in non standard locations: |
6 |
# pwd |
7 |
/usr/powerpc-g2.19-linux-gnu |
8 |
# find -name libbfd.so |
9 |
./usr/lib/binutils/powerpc-g2.19-linux-gnu/2.24/libbfd.so |
10 |
./usr/powerpc-g2.19-linux-gnu/lib/libbfd.so |
11 |
|
12 |
How to resolve this(other than manually creating sym links)? |
13 |
|
14 |
Jocke |