LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-17-2009, 08:10 AM   #1
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Custom kernel breaks Skype on Slackware64 multilib?


I've got Slackware64 installed on my laptop and made it multilib following AlienBOB's instructions. I've also been working on a custom 2.6.29 kernel, and in the process have seem to have missed something that allows 32 bit binaries to run. Since Skype is really the only 32 bit binary I'm using, that is where I'm seeing the symptoms.

If I try to run Skype from the command line I see this (by the way this happens with both static and dynamic versions of Skype:

Code:
bash: ./skype: cannot execute binary file
Running ldd skype gets me this:

Code:
/usr/bin/ldd: line 161: /lib/ld-linux.so.2: cannot execute binary file not a dynamic executable
Again, the same error happens with both the dynamic and static versions of skype.

What makes me think it is the custom kernel is that on a test Slackware64 machine that uses the stock hugesmp, Skype runs just fine. Well, at least as fine as Skype ever runs on Linux.

So I guess my question is this: Is there a kernel config setting that is needed to run 32 bit binaries on a 64 bit kernel or am I barking up the wrong tree here. I've looked at the config pretty closely and nothing jumps at me, but that doesn't mean much.
 
Old 10-17-2009, 09:20 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I think it is this option:

Code:
  ┌──────────────────────────── IA32 Emulation ─────────────────────────────┐
  │ CONFIG_IA32_EMULATION:                                                  │  
  │                                                                         │  
  │ Include code to run 32-bit programs under a 64-bit kernel. You should   │  
  │ likely turn this on, unless you're 100% sure that you don't have any    │  
  │ 32-bit programs left.                                                   │  
  │                                                                         │  
  │ Symbol: IA32_EMULATION [=y]                                             │  
  │ Prompt: IA32 Emulation                                                  │  
  │   Defined at arch/x86/Kconfig:1949                                      │  
  │   Depends on: X86_64                                                    │  
  │   Location:                                                             │  
  │     -> Executable file formats / Emulations                             │  
  │   Selects: COMPAT_BINFMT_ELF                                            │
 
Old 10-17-2009, 10:26 AM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803

Original Poster
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Sheesh. Short of putting this in blinking neon lights, I'm not sure how they could have made it more obvious.

Thanks, that solved the problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Transcode will not compile in Slackware64-13.0, Multilib TSquaredF Slackware 9 04-07-2010 10:39 PM
[SOLVED] Slackware64 multilib - E17 compiling problem? kukibl Slackware 1 10-08-2009 10:50 AM
Hardware accelerated 32-bit games with multilib slackware64 sunman Slackware 4 09-05-2009 08:14 PM
slackware64 + multilib or simply install 32-bit? [GOD]Anck Slackware 1 08-31-2009 03:51 AM
slackware64 lvm/luks and mkinitrd for custom kernel chopp Slackware 19 08-25-2009 02:33 PM

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

All times are GMT -5. The time now is 06:45 AM.

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