Comment 6 for bug 1001129

Revision history for this message
ELIPTUS (eliptus+launchpad) wrote :

Since this is the top hit for this issue in Google, I'm documenting my workaround here for others:

LD_LIBRARY_PATH="/usr/lib/i386-linux-gnu/libfakeroot" fakeroot

Basically, when fakeroot adds x86_64, lib64, and lib32 to the search paths, but omits i386:

: %; fakeroot -- ${SHELL} -c 'echo ${LD_LIBRARY_PATH}'
/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot

Manually adding it solves the issue:

: %; LD_LIBRARY_PATH="/usr/lib/i386-linux-gnu/libfakeroot" fakeroot -- ${SHELL} -c 'echo ${LD_LIBRARY_PATH}'
/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot:/usr/lib/i386-linux-gnu/libfakeroot