1 |
On Tuesday, January 04, 2011 04:02:59 Patrice Tisserand wrote: |
2 |
> Mike Frysinger wrote: |
3 |
> > On Monday, January 03, 2011 05:19:58 Kfir Lavi wrote: |
4 |
> >> when I try to cross compile sys-fs/e2fsprogs I get this error: |
5 |
> >> checking for blkid_get_cache in -lblkid... no |
6 |
> >> |
7 |
> >> copying the uuid and blkid files to the cross environment solve the |
8 |
> >> problem and the package compiles. |
9 |
> >> cp /tmp/target_root/usr/lib/libuuid.* |
10 |
> >> /usr/i686-gentoo-linux-gnu/usr/lib/ cp |
11 |
> >> /tmp/target_root/usr/lib/libblkid.* /usr/i686-gentoo-linux-gnu/usr/lib/ |
12 |
> >> cp /tmp/target_root/lib/libuuid.so.1* /usr/i686-gentoo-linux-gnu/lib/ |
13 |
> >> cp /tmp/target_root/lib/libblkid.so.1* /usr/i686-gentoo-linux-gnu/lib/ |
14 |
> >> |
15 |
> >> How can this problem be solved permanently? |
16 |
> > |
17 |
> > you should be emerging library packages into your SYSROOT (/usr/$CTARGET) |
18 |
> > before building/installing packages into your ROOT |
19 |
> |
20 |
> Does adding -L /tmp/target_root/lib -L /tmp/target_root/usr/lib |
21 |
> -Wl,-rpath-link,/tmp/target_root/lib |
22 |
> -Wl,-rpath-link,/tmp/target_root/usr/lib to LDFLAGS could not be an |
23 |
> alternative ? |
24 |
|
25 |
no. that's broken by design. |
26 |
-mike |