Re: Compiling Perl in 32 bit chroot on sparc64 failing
Robert Swindells <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.sparc64,gmane.os.netbsd.ports.sparc |
|---|---|
| Message-ID | <[email protected]> |
Martin Husemann <[email protected]> wrote: >On Sat, Jul 13, 2019 at 08:11:57PM +0000, John Klos wrote: >> kver -r 8.0 -p sparc chroot /usr/sandbox_8.0 /bin/sh >> /usr/local/lib/libkver.so: invalid ELF class 2; expected 1 > >#define ELFCLASS32 1 /* 32-bit objects */ >#define ELFCLASS64 2 /* 64-bit objects */ > >You have a 64 bit libkver.so and something tries to load it in the sandbox? I thought that libkver needed to be built for the target system.