LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 06-02-2005, 09:40 AM   #1
paralysis
LQ Newbie
 
Registered: May 2005
Posts: 1

Rep: Reputation: 0
32bit on 64bit


Hello all,
I've installed LFS purely as 64bit and now I'd like to know how I can get 32-bit support. I've compiled the kernel with 32 bit emulation, but that clearly doesn't cut it as everytime I've tried running a 32-bit application I get the message "file not found". Odd thing is that it doesn't complain about not finding 32 bit libraries (that i could understand), but it says the executable isn't found.

For example, for Acrobat Reader "dir" can find the file, but the acroread script cannot. Running it directly also says the file doesn't exist:

Code:
bash-3.00$ dir acroread
acroread
bash-3.00$ ./acroread
./acroread: line 269: /opt/AcrobatReader/Reader/intellinux/bin/acroread: No such file or directory
./acroread: line 269: /opt/AcrobatReader/Reader/intellinux/bin/acroread: Success
bash-3.00$ dir /opt/AcrobatReader/Reader/intellinux/bin/acroread
/opt/AcrobatReader/Reader/intellinux/bin/acroread
bash-3.00$ /opt/AcrobatReader/Reader/intellinux/bin/acroread
bash: /opt/AcrobatReader/Reader/intellinux/bin/acroread: No such file or directory
Anyone know where to go from here?

--Jonathan
 
Old 06-02-2005, 02:52 PM   #2
Yerp
Member
 
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
is there a 64-bit binary for acroread?

Adobe Acrobat, Macromedia Flash, Adobe Illustrator, RealPlayer are a few proprietary software that is supported under linux.

However, these programs are generally distributed as binaries. That is, they have their own install scripts that do little more than copy and paste (Windows style installation) to install. This means, the code is not compiled under your system and thus, they may need to have built a 64-bit binary for your system.

Now, as far as the 32-bit emulation is concerned, if this works as it sounds, this should solve the binary problem. In this case, I do not know how to help you.

However, have you been able to get almost every other program on your system to work? (aside from adobe, macromedia, and realplayer producst..?). If you have then, the problem is probably the pre-compiled binaries supplied by adobe. If not...then you have a bigger problem.
 
Old 06-02-2005, 03:19 PM   #3
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 30
You might glean some more info here http://gentoo-wiki.com/HOWTO_AMD_64

It looks like you're gonna have to build some 32bit libs for compatability if you intend to run 32bit commercial / closed source apps. How this is done I could only guess, but chroot / uname hackery comes to mind, lots of luck.

Mad.
 
  


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
how do i know if system is 32bit or 64bit? greythorne Suse/Novell 5 09-15-2005 08:56 AM
can 64bit processor run both 64bit and 32bit computers? DJOtaku Linux - General 4 09-08-2005 08:14 PM
64bit or 32bit ginger.fish0 Ubuntu 3 09-01-2005 05:12 PM
32Bit or 64Bit? bchivers Mandriva 9 05-22-2005 12:28 PM
32bit to 64bit kirk1975 Linux - Newbie 1 10-20-2004 05:14 AM


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