On Sun, Mar 27, 2022, 7:31 AM Reiner Buehl <reiner.bu...@gmail.com> wrote:

> Hi all!
>
> I am trying to build an amd64 Debian package from sources but the
> command dpkg-buildpackage -us -uc fails with a number of the following
> error messages:
>
> ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be
> preloaded (wrong ELF class: ELFCLASS64): ignored.
>

Is it possible that you are already setting the
LD_LIBRARY_PATH environment variable for your shell? And that its contents
are pointing the loader at the wrong libraries?

Only other thing I can think of: Were there any newer header-file packages
that needed to be installed along with? Again maybe finding an older
include file ahead of the newer confused the loader at runtime. HTH.

I have installed (and re-installed) the devscripts, fakeroot and
> build-essential packages but still get the error. The system was
> crossgraded from i386 to amd64 and still runs a mix of i386 and amd64
> but the build packages seem to be all amd64:
>
> bilbo:~# dpkg -l | grep fake
> ii  fakeroot 1.23-1                                amd64        tool for
> simulating superuser privileges
> ii  libfakeroot:amd64 1.23-1                                amd64
> tool for simulating superuser privileges - shared libraries
> bilbo:~# dpkg -l | grep devscripts
> ii  devscripts 2.19.5+deb10u1                        amd64
> scripts to make the life of a Debian Package maintainer easier
> bilbo:~# dpkg -l | grep build-essentila
> bilbo:~# dpkg -l | grep build-essential
> ii  build-essential 12.6                                  amd64
> Informational list of build-essential packages
>
> Is there anything else that I need to (manually) change?
>
> Reiner
>
>

Reply via email to