[SOLVED] Slackware 14.2 (current ) some 64 bit programs not working
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Slackware 14.2 (current ) some 64 bit programs not working
I'm upgrading to Slackware 14.2 from 14.1
I have a triple boot machine with Slackware 14.1 on one partition and 14.2 on another other.
Most things looked pretty solid so I figured I'd start moving my programs over from 14.1 to 14.2 and see how far I got.
My 64bit java jdk says
sh-4.3$ ./java
sh: ./java: cannot execute binary file: Exec format error
sh-4.3$ file ./java
./java: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=bd74b7294ebbdd93e9ef3b729e5aab228a3f681b, not stripped
If I down load the 32 bit version of the jdk I suspect it will run.
This same thing happened when I installed libreoffice and the plugin libflashplayer.so
I,m not sure if this is expected behavior or not. Any ideas ?
Waynelloydsmith
If I down load the 32 bit version of the jdk I suspect it will run.
Indeed you can't run a 64-bit executable on a 32-bit system.
This is true for any Slackware version, so you would get the same result trying to use a 64-bit executable binary on a 32-bit Slackware 14.1 system: that won't work.
the kernal Im running is:
sh-4.3$ file /boot/vmlinuz-huge-4.4.4*
/boot/vmlinuz-huge-4.4.4: Linux kernel x86 boot executable bzImage, version 4.4.4 (root@hive) #2 Thu Mar 3 21:12:01 CST 2016, RO-rootFS, swap_dev 0x6, Normal VGA
how can I tell if its 32 or 64 bit:
Wayne
What you likely did is just grabbed the Slackware iso, rather than the Slackware64 iso. I still occasionally make that mistake since they're sorted away from each other on the mirrors.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.