[Bug 1001129] Re: fakeroot in amd64 lacking support for i386
And for this to function, you need to have the following packages installed: fakeroot, libfakeroot:amd64, libfakeroot:i386 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001129 Title: fakeroot in amd64 lacking support for i386 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fakeroot/+bug/1001129/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001129] Re: fakeroot in amd64 lacking support for i386
As the main point it that /usr/lib/i386-linux-gnu/libfakeroot is not part of the patch, this patch fixes it for me. I guess it should actually be replaced by an @@ macro though. --- scripts/fakeroot.in.orig2019-02-26 11:38:12.0 +0100 +++ scripts/fakeroot.in 2019-02-26 11:40:41.895722422 +0100 @@ -35,7 +35,7 @@ USEABSLIBPATH=@LDPRELOADABS@ LIB=lib@fakeroot_transformed@@DLSUFFIX@ -PATHS=@libdir@:${FAKEROOT_PREFIX}/lib64/libfakeroot:${FAKEROOT_PREFIX}/lib32/libfakeroot +PATHS=@libdir@:/usr/lib/i386-linux-gnu/libfakeroot:${FAKEROOT_PREFIX}/lib64/libfakeroot:${FAKEROOT_PREFIX}/lib32/libfakeroot FAKED=${FAKEROOT_BINDIR}/@faked_transformed@ FAKED_MODE="unknown-is-root" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001129 Title: fakeroot in amd64 lacking support for i386 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fakeroot/+bug/1001129/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001129] Re: fakeroot in amd64 lacking support for i386
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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001129 Title: fakeroot in amd64 lacking support for i386 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fakeroot/+bug/1001129/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001129] Re: fakeroot in amd64 lacking support for i386
Same here! I have a project with parts that only work in 64bit and the part that only works in 32bit only because of this fakeroot problem. Would like to get everything on 64bit. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001129 Title: fakeroot in amd64 lacking support for i386 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fakeroot/+bug/1001129/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001129] Re: fakeroot in amd64 lacking support for i386
Is there a workaround for this. I am trying to run a 32 bit binary with fakeroot on a 64 bit installation. I installed fakeroot:i386 package. ```bash $ fakeroot <32bit-binary> ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ``` Any pointers would help. I am stuck here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001129 Title: fakeroot in amd64 lacking support for i386 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fakeroot/+bug/1001129/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001129] Re: fakeroot in amd64 lacking support for i386
** Also affects: fakeroot (Debian) Importance: Undecided Status: New ** Changed in: fakeroot (Debian) Assignee: (unassigned) => Amir Eldor (amireldor) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001129 Title: fakeroot in amd64 lacking support for i386 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fakeroot/+bug/1001129/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001129] Re: fakeroot in amd64 lacking support for i386
The patch seems to be applied already in the version shipped with precise (Debian was patched at version 1.14.. and precise has version 1.18...) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001129 Title: fakeroot in amd64 lacking support for i386 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fakeroot/+bug/1001129/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001129] Re: fakeroot in amd64 lacking support for i386
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: fakeroot (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001129 Title: fakeroot in amd64 lacking support for i386 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fakeroot/+bug/1001129/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1001129] Re: fakeroot in amd64 lacking support for i386
I think this bug is related with the Debian bug #605077 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605077) which has been already solved. ** Bug watch added: Debian Bug tracker #605077 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605077 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001129 Title: fakeroot in amd64 lacking support for i386 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fakeroot/+bug/1001129/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs