Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: wysiwyg on October 11, 2016, 02:21:24 PM

Title: 64bit apps on core64
Post by: wysiwyg on October 11, 2016, 02:21:24 PM
Good afternoon all, I was attempting to run some corepure64 software on core64, but it doesn't appear to work correctly.  I was simply trying 'tar --help', but go this in return:

# /usr/local/bin/tar --help
-sh: /usr/local/bin/tar: not found

# ls -al /usr/local/bin/tar
-rwxr-xr-x 1 root root 310256 Dec 3 2015 /usr/local/bin/tar

# ldd /usr/local/bin/tar
/usr/local/bin/tar: error while loading share libraries: /usr/local/bin/tar: wrong ELF class: ELFCLASS64

Shouldn't the corepure64 software run in core64?

Thanks,
Dave
Title: Re: 64bit apps on core64
Post by: gerald_clark on October 11, 2016, 02:32:21 PM
You can't mix 32 and 64 bit user space.
You either run full 32 bit, full 64 bit, or 64 bit kernel and modules with 32 bit user space.
Title: Re: 64bit apps on core64
Post by: wysiwyg on October 11, 2016, 02:52:35 PM
Thanks for the reply gerald_clark - that explains why the apps won't run! :)

Dave