LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 09:10 AM   #1
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
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, 10:20 AM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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, 11:26 AM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Original Poster
Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
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 11:39 PM
[SOLVED] Slackware64 multilib - E17 compiling problem? kukibl Slackware 1 10-08-2009 11:50 AM
Hardware accelerated 32-bit games with multilib slackware64 sunman Slackware 4 09-05-2009 09:14 PM
slackware64 + multilib or simply install 32-bit? [GOD]Anck Slackware 1 08-31-2009 04:51 AM
slackware64 lvm/luks and mkinitrd for custom kernel chopp Slackware 19 08-25-2009 03:33 PM


All times are GMT -5. The time now is 10:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration