2013/11/27 Clint Adams <cl...@debian.org>: > Running find on every invocation is pretty annoying, but I'll take > a look shortly.
There is another possibility: use the default dynamic linker feature and simply add the path to fakeroot library to /etc/ld.so.conf.d so it should work with empty LD_LIBRARY_PATH binary_arch: # ... echo /usr/lib/$(DEB_HOST_MULTIARCH)/libfakeroot > debian/libfakeroot/etc/ld.so.conf.d/fakeroot-$(DEB_HOST_MULTIARCH).conf You can see the difference between fakeroot and fakechroot: (sid)dexter@sony-vaio-sve1112m1ep:/$ fakeroot env | grep LD | sort LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot LD_PRELOAD=libfakeroot-sysv.so (sid)dexter@sony-vaio-sve1112m1ep:/$ fakechroot env | grep LD | sort LD_LIBRARY_PATH= LD_PRELOAD=libfakechroot.so (sid)dexter@sony-vaio-sve1112m1ep:/$ cat /etc/ld.so.conf.d/fakechroot-x86_64-linux-gnu.conf /usr/lib/x86_64-linux-gnu/fakechroot (sid)dexter@sony-vaio-sve1112m1ep:/$ cat /etc/ld.so.conf.d/fakechroot-i386-linux-gnu.conf /usr/lib/i386-linux-gnu/fakechroot Each architecture adds own ld.so.conf config so dynamic linker can load proper file by itself. Regards, -- .''`. Piotr Roszatycki : :' : mailto:piotr.roszaty...@gmail.com `. `' mailto:dex...@debian.org `- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org