LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-20-2009, 11:06 PM   #1
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian
Posts: 462

Rep: Reputation: 39
Slackware64 and 32-bit compatibility


Sorry but I have no idea where to start with this.

If I want to be able to run and compile 32 bit applications I need to get the proper lib32 stuff...

How do I go about doing this? Can someone point me in the right direction?

I mostly need openoffice...
 
Old 05-20-2009, 11:18 PM   #2
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
That's not a valid option, at least not at this point (which does not imply that it will *ever* be).

Using this tarball:
http://ftp-atl.osuosl.org/pub/openof...l_en-US.tar.gz
you should be able to adapt my SlackBuild script at SlackBuilds.org to build a package for x86_64. I'm not where I can download it at the moment, but I'll try to get that taken care of in the next few days and put something online.
 
Old 05-20-2009, 11:33 PM   #3
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
I'm actually wondering along the lines of a 32 bit chroot environment. There arn't many things that I would like to run for 32 bit and wonder if this would be a better solution. Unless I'm grossly underestimating the dependencies of running graphical applications this way... if it's even possible.
 
Old 05-20-2009, 11:48 PM   #4
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 886

Rep: Reputation: 78
I just built the 64 bit version of open office and it works perfect. Seems a little faster than the 32 bit.
I used the Slamd64 build.

http://builds.slamd64.com/Office/openoffice.org/

just run this and you get all the Slamd64 builds if you like.

git clone http://builds.slamd64.com/slamd64builds.git
 
Old 05-21-2009, 12:04 AM   #5
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
Ah yes, I somehow forgot about the slamd64 builds - that is indeed a good choice.
 
Old 05-21-2009, 12:51 AM   #6
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
I've been running 64bit OpenOffice for quite a while while testing Slackware64(tm) I just modified the 32bit SlackBuild from Robby.

Among other things that I tested were postgres, qcad and php with mcrypt.
 
Old 05-21-2009, 12:55 AM   #7
vinegaroon
Member
 
Registered: Sep 2008
Posts: 99

Rep: Reputation: 21
For programs that do need 32bit libs, wouldn't installing packages from Slackware 32's 'l' series work?
 
Old 05-21-2009, 01:36 AM   #8
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
I believe multilib 'may' require a few different setups with gcc when installing... I've never fully followed Linux from Scrach let alone the multilib cross compile http://cross-lfs.org/view/1.1.0/ But you would at the very least need duplicate copies of the c library compiled for 32 bit and 64 bit.

To install 32 bit packages, you would need all of their dependencies to be 32 bit without messing up your 64 bit packages that may already be installed to meet dependencies for your 64 bit applications.
 
Old 05-21-2009, 04:47 AM   #9
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
Quote:
Originally Posted by vinegaroon View Post
For programs that do need 32bit libs, wouldn't installing packages from Slackware 32's 'l' series work?
Currently no.

Last edited by H_TeXMeX_H; 05-21-2009 at 12:53 PM. Reason: Fixed answer
 
Old 05-21-2009, 09:40 AM   #10
AJSB
LQ Newbie
 
Registered: May 2009
Posts: 3

Rep: Reputation: 0
This is an issue also to me because i play Enemy Territory:Quake Wars and it's 32bit....so, what's best option to run it in SLK64 ?

TIA,
AJSB
 
Old 05-21-2009, 12:55 PM   #11
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
So, in the other thread it became apparent that currently slackware64-current is "multilib-capable', and no 32-bit compatibility libs are available at this time ... but maybe later ? You may need to just wait a while and check up on it to see what was changed or added or fixed.
 
Old 05-21-2009, 02:14 PM   #12
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 886

Rep: Reputation: 78
Hmm,
Right now I'm watching TV with TVtime that I built several months ago for Slack 12.2 from a SlackBuild.
I'm definitely not qualified to get in to a debate on this but I think Slack64-Current is multi lib with no 32 libs yet.
I think you can add them as you need them because there is a place for them.
 
Old 05-21-2009, 02:56 PM   #13
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
what's the extent of 'multilib' ready. Does that mean 32 and 64 bit versions of standard c lib have been installed? or does it simply mean that /usr/lib and /usr/lib64 are set up?

If it's simply the directories then you would need to understand exactly what dependencies that your 32 bit app needs... no?
 
Old 05-21-2009, 03:11 PM   #14
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 886

Rep: Reputation: 78
lumak;
I'm guna find out tonight.
I installed an extra Slack64 system to play with an I going to take a shot at gnucash which has over 20+ deps.
I also have a Slamd64 system that I can "try" to steel libs from.

Last edited by slackass; 05-21-2009 at 03:13 PM.
 
Old 05-21-2009, 03:13 PM   #15
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 currently it's just /usr/lib64 and that's it, no 32-bit compat libs included.
 
  


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
Checking hardware compatibility for Fedora 64 Bit art_of_living Linux - Hardware 15 01-14-2008 10:33 AM
32-bit compatibility on a 64-bit AMD box ?? Rod Butcher Linux - General 4 01-11-2007 05:10 PM
Redhat EM64T compatibility with 32 bit apps? jenson Linux - Software 2 03-20-2006 10:17 PM
32 bit compatibility with 64 machine nozz Linux - Hardware 2 10-01-2005 09:33 AM
32 bit compatibility for 64 bit distros Phil Brooks Linux - Software 9 03-31-2005 06:27 PM


All times are GMT -5. The time now is 06:52 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