On Tuesday, January 04, 2011 04:02:59 Patrice Tisserand wrote: > Mike Frysinger wrote: > > On Monday, January 03, 2011 05:19:58 Kfir Lavi wrote: > >> when I try to cross compile sys-fs/e2fsprogs I get this error: > >> checking for blkid_get_cache in -lblkid... no > >> > >> copying the uuid and blkid files to the cross environment solve the > >> problem and the package compiles. > >> cp /tmp/target_root/usr/lib/libuuid.* > >> /usr/i686-gentoo-linux-gnu/usr/lib/ cp > >> /tmp/target_root/usr/lib/libblkid.* /usr/i686-gentoo-linux-gnu/usr/lib/ > >> cp /tmp/target_root/lib/libuuid.so.1* /usr/i686-gentoo-linux-gnu/lib/ > >> cp /tmp/target_root/lib/libblkid.so.1* /usr/i686-gentoo-linux-gnu/lib/ > >> > >> How can this problem be solved permanently? > > > > you should be emerging library packages into your SYSROOT (/usr/$CTARGET) > > before building/installing packages into your ROOT > > Does adding -L /tmp/target_root/lib -L /tmp/target_root/usr/lib > -Wl,-rpath-link,/tmp/target_root/lib > -Wl,-rpath-link,/tmp/target_root/usr/lib to LDFLAGS could not be an > alternative ?
no. that's broken by design. -mike
signature.asc
Description: This is a digitally signed message part.
