LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   32bit on 64bit (https://www.linuxquestions.org/questions/linux-from-scratch-13/32bit-on-64bit-329561/)

paralysis 06-02-2005 09:40 AM

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

Yerp 06-02-2005 02:52 PM

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.

madluther 06-02-2005 03:19 PM

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.


All times are GMT -5. The time now is 05:03 PM.