LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 03-13-2016, 11:03 PM   #1
waynelloydsmith
Member
 
Registered: Feb 2012
Location: Canada
Distribution: Slackware15
Posts: 78

Rep: Reputation: Disabled
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
 
Old 03-14-2016, 05:24 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
One idea for you is support libs.

Try
Code:
ldd /path/to/broken_executable |grep found
The correct output is nothing. Any output is missing libs.

On 14.1, the /lib64/ld-linux.so.2 is a symlink to /lib64/ld-2.19.so. Google earth uses another symlink for the same file.
 
Old 03-14-2016, 08:55 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Quote:
Originally Posted by waynelloydsmith View Post
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.
 
1 members found this post helpful.
Old 03-14-2016, 11:39 PM   #4
waynelloydsmith
Member
 
Registered: Feb 2012
Location: Canada
Distribution: Slackware15
Posts: 78

Original Poster
Rep: Reputation: Disabled
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
 
Old 03-14-2016, 11:58 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
If it were 64 bit it would say: x86_64 boot executable.

Another way to know is
Code:
uname -m
If it's 64-bit it will report x86_64. If it reports i686 or i586 or i486 it's 32-bit.

Last edited by Didier Spaier; 03-15-2016 at 12:01 AM.
 
1 members found this post helpful.
Old 03-15-2016, 01:57 AM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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.
 
1 members found this post helpful.
Old 03-15-2016, 06:46 PM   #7
waynelloydsmith
Member
 
Registered: Feb 2012
Location: Canada
Distribution: Slackware15
Posts: 78

Original Poster
Rep: Reputation: Disabled
sh-4.3$ uname -m
i686
ahh problem solved . now to reinstall.
many thanks
Wayne
 
Old 03-26-2016, 02:59 AM   #8
BAcidEvil
Member
 
Registered: Dec 2003
Distribution: Slack 14.1 3.18.1
Posts: 294

Rep: Reputation: 10
Do you need like special privileges to get 14.2 RC?
 
Old 03-26-2016, 04:44 PM   #9
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by BAcidEvil View Post
Do you need like special privileges to get 14.2 RC?
You just install -current
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i build a 32 slackware package on 64 bit current? fogpipe Slackware 2 10-28-2015 07:51 PM
Slackware 14-current obsolete programs. slacktroll Slackware 7 05-15-2013 11:27 AM
[SOLVED] Newt not working in Slackware 14 64 bit, works on 32 bit TobiSGD Slackware 8 10-05-2012 09:43 AM
[SOLVED] Slackware current 64-bit Adobe Flash Erik_FL Slackware 4 04-08-2011 07:13 PM
Slackpkg slackware current-64 bit todders Slackware 7 07-15-2009 06:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 09:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration