LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware64 and 32-bit compatibility (https://www.linuxquestions.org/questions/slackware-14/slackware64-and-32-bit-compatibility-727442/)

mattydee 05-20-2009 11:06 PM

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...

rworkman 05-20-2009 11:18 PM

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.

lumak 05-20-2009 11:33 PM

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.

slackass 05-20-2009 11:48 PM

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

rworkman 05-21-2009 12:04 AM

Ah yes, I somehow forgot about the slamd64 builds - that is indeed a good choice.

mRgOBLIN 05-21-2009 12:51 AM

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.

vinegaroon 05-21-2009 12:55 AM

For programs that do need 32bit libs, wouldn't installing packages from Slackware 32's 'l' series work?

lumak 05-21-2009 01:36 AM

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.

H_TeXMeX_H 05-21-2009 04:47 AM

Quote:

Originally Posted by vinegaroon (Post 3547754)
For programs that do need 32bit libs, wouldn't installing packages from Slackware 32's 'l' series work?

Currently no.

AJSB 05-21-2009 09:40 AM

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

H_TeXMeX_H 05-21-2009 12:55 PM

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.

slackass 05-21-2009 02:14 PM

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.

lumak 05-21-2009 02:56 PM

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?

slackass 05-21-2009 03:11 PM

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.

H_TeXMeX_H 05-21-2009 03:13 PM

I think currently it's just /usr/lib64 and that's it, no 32-bit compat libs included.


All times are GMT -5. The time now is 02:18 AM.