32-bit apps on x86_64

Hello, im a new to Arch
I have a very newbish question and I guess it has been discussed many times already, but i was not able to find answer, so here i go
I installed the 64-bit Arch linux (x86_64). It seems to run well except for that i have trouble running 32-bit apps.
At first i tried a simple 32-bit app that only uses glibc. It said "no such file or directory" or something similar.
After a bit digging i installed a 32-bit glibc. Fortunately the 32-bit glibc did not produce any file name clashes with the 64-bit glibc.
The whole system continued to work and the simple 32-bit application now worked too.
Then i tried some more complex 32-bit app, which uses other 32-bit libs (lile libX11).
This time it did not say "no such file or directory" but complained about wrong ELF type or something like that.
From that i comclude that now it finds a library with the wanted name, but it is 64-bit instead of 32-bit.
So maybe if i try to install 32-bit variant there will be file name clashes.
Is there a way to run _any_ 32-bit apps on x86_64 Arch linux? Maybe some compatibility package?
If you suggest that i recompile my 32-bit apps to 64-bit, that is not that easy and sometimes it is impossible.
For example i have some binary-only apps that are not open-source. Like, say, the game doom3.

Xyne wrote:What system can run 64-bit and 32-bit apps natively at the same time? If you think another system is doing that for you then it's probably because it hides the 32-bit libs from you.
If no distro can do what i want, then i guess i will have to stick to 32-bit linux for now. I'd hate the thought that half of my CPU stays unused tho
Ranguvar wrote:Arch'll work fine. If you don't want a chroot, then just run the 32-bit app you want, look for its error message, and install that lib32 from the AUR. If there isn't one, make one - it's very simple.
I think the problem with this is that both the 64- and 32-bit variants of some libs use the same name.
Maybe if i put the 32-bits in a different dir (like /lib32 and /usr/lib32) and somehow explain to the 32-bit dynamic loader where to look for them (or patch it)?
It would be best if it was possible to build the libs in a way to permit both 32-bit and 64-bit apps to link with them at the same time. Maybe provide 2 entry points for each exported function - one for 32-bit apps and another for 64-bit.
Last edited by lucho (2009-02-22 15:52:59)

Similar Messages

  • Premiere Pro CS4: 64-Bit App or Not?

    I read in the new Premiere Pro CS4 specs that it was "optimized for use on Win Vista 64-Bit..."
    Using that language, is Adobe saying it's still a 32-bit app, but will work fine on the Vista 64-bit platform? Would appreciate somebody clarifying that point.
    Bill Buchanan
    Buchanan Film Co.

    Good Marketing.
    Dave

  • Pls Suggest:EBS 12.1.3 DB tier on 64 bit & Apps tier on 32 bit(Windows)

    Hi All,
    11i Configuration Details: 2 Machines
    (1)Machine A Windows 2003(32 bit): Database tier: 10gR2(10.2.0.3) NO RAC
    (1)Machine A Windows 2003(32 bit): Apps tier: (Concurrent,Reports)
    (2)Machine B Windows 2003(32 bit): Apps tier: (Admin,Web,Forms)
    Ours is 15 Concurrent Users and no customizations to any processes.
    Now planning to move to windows 2008 R2(64 bit) machine as part of upgradation to 12.1.3
    Planning R12.1.1 configuration Details: 2 Machines
    (1)Machine A Windows 2008 R2 Server(64 bit): Database tier: 11gR2(11.2.0.2) No RAC
    (2)Machine B Windows 2003(32 bit): Apps tier: (Concurrent,Reports,Admin,Web,Forms)
    OR it should be
    (2)Machine B Windows 2008(32 bit): Apps tier: (Concurrent,Reports,Admin,Web,Forms)
    Is this confugaration advisable? Any Performance wise degradation.
    Planning to have BI Publisher and Discoverer .. Where to install these?
    Process:
    1) Staged Environment:
    Machine A Windows 2008 R2(64 bit): Upgrade 10gR2 to base 11gR2 and then to 11.2.0.2 on any windows 32 bit machine. And migrating this DB to 64 bit Machine A.
    Machine B Windows 2003/2008(32 bit): Freshly installing 12.1.1 apps tier (Concurrent,Reports,Admin,Web,Forms), Porting over any personalised Reports,Forms(few personilizations) and Interfaces. And then upgrading to RUP3(12.1.3). Opting for Fresh installation as there are no process customizations mainly.
    Now my doubt is.. for 15 Concurrent user.. just having one Apps Tier is sufficient with 4 GB RAM(cannot be extended as it is windows standard 32 bit and max is 4 GB RAM), DB Tier with 8 GB RAM on windows 2008 R2(64 bit)?
    Please suggest me any other approaches if any applicable for Windows. I am a Newbie in implementation.
    Rgds
    SS

    Hi;
    11i Configuration Details: 2 Machines
    (1)Machine A Windows 2003(32 bit): Database tier: 10gR2(10.2.0.3) NO RAC
    (1)Machine A Windows 2003(32 bit): Apps tier: (Concurrent,Reports)
    (2)Machine B Windows 2003(32 bit): Apps tier: (Admin,Web,Forms)
    Ours is 15 Concurrent Users and no customizations to any processes. I belive there is no need this kind of arch. for just 15 users
    Now planning to move to windows 2008 R2(64 bit) machine as part of upgradation to 12.1.3Please see:
    Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Microsoft Windows Server (32-bit) [ID 761567.1]<< From note:
    Windows Server 2008 R2 is certified with Oracle E-Business Suite Release 12 (12.1.1 or higher) using a migration process as outlined in My Oracle Support Document 1188535.1. Installing Oracle E-Business Suite using the Rapid Install directly on Windows Server 2008 R2 is not currently supported.
    Planning R12.1.1 configuration Details: 2 Machines
    (1)Machine A Windows 2008 R2 Server(64 bit): Database tier: 11gR2(11.2.0.2) No RAC
    (2)Machine B Windows 2003(32 bit): Apps tier: (Concurrent,Reports,Admin,Web,Forms)
    OR it should be
    (2)Machine B Windows 2008(32 bit): Apps tier: (Concurrent,Reports,Admin,Web,Forms)I perefer to go wiht option 2 because its a newer version.
    Is this confugaration advisable? Any Performance wise degradation.I belive yes
    Planning to have BI Publisher and Discoverer .. Where to install these?I suggest use new server for those
    Process:
    1) Staged Environment:
    Machine A Windows 2008 R2(64 bit): Upgrade 10gR2 to base 11gR2 and then to 11.2.0.2 on any windows 32 bit machine. And migrating this DB to 64 bit Machine A. Correct
    Machine B Windows 2003/2008(32 bit): Freshly installing 12.1.1 apps tier (Concurrent,Reports,Admin,Web,Forms), Porting over any personalised Reports,Forms(few personilizations) and Interfaces. And then upgrading to RUP3(12.1.3). Opting for Fresh installation as there are no process customizations mainly.
    Now my doubt is.. for 15 Concurrent user.. just having one Apps Tier is sufficient with 4 GB RAM(cannot be extended as it is windows standard 32 bit and max is 4 GB RAM), DB Tier with 8 GB RAM on windows 2008 R2(64 bit)?I belive its okey,it wont be cause some problem for 15 users
    Regard
    Helios

  • 64 bit noob wants a 32 bit app... [SOLVED...for now!]

    I got the following when trying to install Google Earth:
    Uncompressing Google Earth for GNU/Linux 5.1.3533.1731...............................................................
    ./setup.sh: line 216: setup.data/bin/Linux/amd64/setup.gtk2: No such file or directory
    ./setup.sh: line 216: setup.data/bin/Linux/amd64/setup.gtk: No such file or directory
    The setup program seems to have failed on amd64
    Fatal error, installer failed to run at all!
    Is this just a question of trying to run a 32 bit app on a 64 bit OS?  And, if it is, how do I solve it?  Can I just install 32 bit libs (and which ones?) or must I do a 32 bit chroot for this...that seems rather a drag!  I've read the 64 fit FAQ, and can manage the chroot if I must...but it just seems like a lot of trouble.
    thanks,
    dave
    Last edited by prairie_dad (2010-01-09 22:07:24)

    tomk wrote:
    The chroot method is generally regarded as cleaner, but the lib32 method also works.
    I'm guessing you're not yet familiar with the AUR? Read up about it, then install this.
    Thanks, tomk,
    I'm almost there.  Have read up on AUR, installed all the dependencies (I thought...at least, I installed all those on the page you sent me to, I was still missing
    Targets (2): lib32-libxfixes-4.0.4-1 lib32-libxdamage-1.1.2-1
    ) downloaded the tarball, unzipped it, ran makepkg...and exit with "no permission to create directory src in bin32-google-earth...etc."
    this was makepkg -s, with my password for sudo to work...no luck.
    so I checked up on fakeroot...and found that it appeared to be enabled in makepkg.conf...so ran makepkg without "-s" and got the same error.... 
    Thought I would be smart and just go ahead and make the directory /bin32-google.../src myself...and obviously didn't give it the right permissions, since when I ran makepkg again...still no luck, though the error has changed from can't create directory to can't download files into this directory...I can change that, too, but why is the fakeroot trick (or sudo, for that matter...) not working.  (It occurs to me that I may not be in sudoers...but I can fix that...and fakeroot ought to work anyway, shouldn't it?)
    many thanks, we're almost there and I'll be a little smarter for next time.
    dave

  • Opening CDR file - Extremely Fatal to CS6 64-bit apps

    I'm trying to get down the bottom of what's causing an extremely serious error in the 64-bit version of Adobe Illustrator CS6.
    Adobe Illustrator can open CorelDRAW .CDR files, to a certain extent. The .CDR files need to be saved down to version 9 or 10 compatibility. One of my coworkers just ran into a really bad Illustrator CS6 crash caused when opening a .CDR file. This is a crash I had to endure on my own new system a couple months ago.
    After Illustrator CS6 64-bit crashes it simply refuses to launch again. It crashes and closes. Rebooting doesn't help. Deleting the AI prefs file doesn't help. Worse yet, the crash basically hoses all of the CS6 64-bit apps that are installed. The 64-bit version of Photoshop CS6 crashes when opening a file.
    The last time this happened my only recourse was to do a "factory reset" on my computer, basically wiping the hard drive and reinstalling Windows 8 Professional in a clean state and then going through the very long, slow process of downloading and installing the CS6 apps from the Creative Cloud.
    Does anyone in this forum have any experience with this particular kind of crash? Are there any possible alternatives that might fix this error besides wiping the hard drive and starting over? This bug is pretty badly timed. Gonna have to go through all the download/install process stuff again when the new CC apps are released.

    The bug is unpredictable. Once the bug has occurred Adobe Illustrator CS6 64-bit will no longer launch. Rebooting and deleting the aiprefs file doesn't work. Additionally the bug also permanently affects other CS6 64-bit applications. Photoshop CS6 64-bit will launch, but it crashes when opening any file. After Effects and Premiere Pro crash at launch. No third party plug-ins were installed on this computer.
    Affected computer's hardware:
    Dell XPS 8500 Desktop
    • Core i7 3770 Quad Core 3.4GHz
    • 16GB RAM - Dual Channel DDR3 1600MHz - 4 DIMMs
    • nVidia GeForce GT640 1GB GDDR5 SDRAM
    • 2TB 7200rpm SATA 6 Gb/s Hard Disc
    • DVD-R/W Drive
    • 19 in 1 media card reader
    • Windows 8 Professional 64-bit
    When this bug affected my own workstation a couple months ago, I tried to uninstall Adobe Illustrator CS6, download it again and then reinstall. Illustrator CS6 64-bit still refused to launch. The other 64-bit apps wouldn't launch either. So I ended up wiping the hard disc, reinstalling Win 8 Pro clean and downloading/reinstalling everything and just being careful to not open any .CDR files after that. My workstation is a little better equipped (Core i7 3770, 24GB of RAM, BD-RW drive, nVidia GeForce 660GTX, Intel SRT solid state drive with SATA 6gb/s 2TB HDD).
    Previously I did run into problems when opening CorelDRAW .CDR artwork that was larger than a standard letter sized page. I would get hit with a dialog box saying "the file appears to be corrupt." I'd end up making CorelDRAW save the artwork into Adobe Illustrator CS5 format and then opening it Illustrator. Once my Adobe apps got hosed by a certain .CDR file I simply stopped trying to open any CorelDRAW files directly in Illustrator at all. Didn't want to go through the long process of reinstalling everything from scratch again. Unfortunately my coworker didn't remember the details of my experience. So now we're dealing with it on her new machine.
    My coworker said she thinks she remembers which .CDR file caused Illustrator CS6 64-bit to crash. Here's a Dropbox link to it:
    https://dl.dropboxusercontent.com/u/86940762/V130520-1%20CC%20expo%20center%20billingsley% 20ford%20FS.cdr
    Warning: I do not recommend other users to try opening this CorelDRAW file within Adobe Illustrator CS6. I'm sure not trying it on my installation!
    This particular .CDR file doesn't have any active type in it. But it does feature some strange clipped gradient effects. I think some of this artwork was originally created in Illustrator and then saved in CorelDRAW. I'm wondering if there is some sort of way Corel tried to reinterpret the artwork that caused Illustrator to lose its mind when reopening it. If memory serves correctly I was opening some similar Illustrator-generated and then Corel-saved art in my own copy of AI CS6 64-bit when it crashed.

  • Will all of the 32 bit apps work in the new 64 bit iOS7?

    Guys,
    Will all of the 32 bit apps work in the new 64 bit iOS7?
    Regards, Phil
    Macintosh b'gosh

    Yes, unless the app is a strangely coded one.

  • Using long longs in a 32 bit app

    What restrictions do I need to observe if I use long long ints (or off_t or fpos_t) in a 32 bit app? If I return a 64 bit value from a function, will that change the alignment of all function calls in the project? Can I use structs that contain long longs without affecting call alignments?

    I don't have another
    compiler/debugger to use, but I make more progress by
    inserting my own debugging statements than with GDB.
    You're not the only one!
    If there is an alignment problem, the source is probably not in GCC. Even though using a long long is a little unusual for people like me, I'm sure there are enough people using long long in GCC to have worked out the bugs.
    Are you doing pointer arithmetic? Are you assuming that the way you have defined your C structure is the way it looks in memory? Is it possible you have endian issues?
    I would suggest starting a new thread. I think the only thing you've done wrong is assume that it is an alignment issue with GCC/GDB and asked a specific question about that. If you frame your question in terms of "I'm crashing here - anybody know why?" you'll get better responses. Of course, the ideal is a very small piece of runnable code the reproduces the error. I know that is usually not possible, but try the best you can. If nothing else, post the structures as you define them and then post some code examples of how you pass them and then how you use them.
    Switching to C++ is another can of worms you probably don't want. I would rather see you use C than Python or Java. Just post some source code here or in a new thread and we'll take a look at it. Having another set of eyes makes a huge difference.

  • Problems with installing 32 bit app in 64 bit environment

    I have 64 bit ArchLinux installation and I'm trying to install IBM SPSS Statistics v20, but I get an error:
    Installer User Interface Mode Not Supported
    The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The valid UI modes identifiers are GUI, Console, and Silent.
    What can I do about it? Ubuntu solution on forums suggest that installing ia64-libs should solve the problem, but we don't have such package. Also, doing everything in the wiki for 32 bit apps doesn't help either.

    cfr wrote:
    Did you try specifying the interface mode?
    If you don't tell people what you did...
    Of course I did. By using "-i Console", i. e., right? Then I tried all of the UIs.

  • Anyone know when DS will be supported as 64 bit app on Linux?

    Anyone know when DS will be supported as 64 bit app on Linux?
    Thanks, Mike

    It appears on the App store when I open it on my iPhone. Haven't tried installing it as the reviews are rather unflattering at this point, but at least it looks like it should be installable...

  • Help Screen blacked out in 64 bit apps in CS5

    I recently installed Production Premium CS5 and the AE/Premier Pro/Photoshop 64 bit apps have a portion of the help screen blacked out. I have spent 5 hours on phone with Adobe technical support and they have been unable to resolve. Has been escalated to level 2 support. Essentially the search box in left frame and the top of the main page consists of all black. This makes it impossible to see what has been entered in search box or where the tabs are to click for various options.

    Issue was resolved by removing all Adobe Applications, including non CS5 programs like Presenter, AIR,Captivate, Acrobat and then reinstalling Prduction Premium CS5. After using Control Panel to uninstall applications, used Adobe's clean programn http://kb2.adobe.com/cps/829/cpsid_82947.html to remove all reminants.

  • Print driver host for 32 bit app has stopped working

    Using Windows 7 64 bit. The printer is an HP Laser 1200. The 64 bit driver for the printer would not work, so I switched to the hp 2200 64 bit driver and the customer was able to print out of his CAD program and Excel.
    However Adobe Reader is a different matter. He got the message "print driver for the 32 bit app has stopped working" and printed out 3 blank pages. Then he tried to print again, didn't get the message, and didn't get the blank paper. In fact, he didn't get anything.
    Of course, there is no information on the HP website. Any ideas on what could be the problem?
    Thanks

    Was there any resolution to this issue?  We have a user with the same issue.  The details of the error are:
    Problem signature:
      Problem Event Name:                        APPCRASH
      Application Name:                             splwow64.exe
      Application Version:                           6.1.7601.17777
      Application Timestamp:                     4f35fbfe
      Fault Module Name:                          mxdwdrv.dll
      Fault Module Version:                        0.3.7601.17514
      Fault Module Timestamp:                  4ce7c883
      Exception Code:                                  c0000005
      Exception Offset:                                000000000004e891
      OS Version:                                          6.1.7601.2.1.0.18.10
      Locale ID:                                             1033
      Additional Information 1:                  0f86
      Additional Information 2:                  0f86ddcc0aa605af31ef1b7f5abedf57
      Additional Information 3:                  539e
      Additional Information 4:                  539e0f43d86d39f144fdb012e341ed8d

  • Does ds 52 run as 64 bit app under linux?

    does ds 52 run as 64 bit app under linux?
    Under 64 bit RH 3 AMD64 V20Z?
    Under 64 bit RH 3 on Dell or other x86 64 bit hardware?
    I've searched all over the public Sun site with no conclusive answer.
    Thanks, Mike

    No. 32 bit on Linux.

  • 27" i7 64-bit Apps?

    I get 64 bit hardware. I get 64 bit OS Snow Leopard. What I don't yet get is what kind of work and what kind of apps benefit from 64 bitness.
    I do iMovie 09 and Final Cut Express 4 on video downloads and my own video production. How are those two apps helped by SL's 64 bit hardware/OS?
    I've got a Windows CS3 Master Collection setup. Can it benefit from a Windows 64 bitness OS on a Mac 64 bit hardware/software setup using bootcamp?
    No sense paying for 64 bit i7 hyper threading if apps aren't thread aware.

    There are quite a few Apps that can take advantage of 64-bit. If you run the Activity Monitor it will tell you what apps your running in 64-bit.
    You can install a 64-bit version of Windows if you like, but unlike OS X you'll have trouble running a lot of Apps as many 32-bit ones are not supported, in OS X you can run 32 and 64-bit apps side by side.

  • Redundant 32-bit apps installed by CC

    Like most professionals I'm running a 64-bit OS.  But Creative Cloud installed both 32-bit and 64-bit versions of Illustrator, Photoshop & InDesign on my HDD, wasting much needed space.  Windows' list of installed programs does not show both versions -- so how can I unstall the redundant 32-bit apps I'll never use?
    Added new tags

    Hi,
    You can uninstall only the version 32Bits.
    Go to Control Panel -> Programs and Features,select the product and click uninstall ,youw will have the choice between
    32 and 64 Bits version.
    Regards,

  • LabWindows CVI 2009 9.1.0 - Build 64-bit Apps?

    I have LabWindows/CVI 2009 (version 9.1.0 427).  Can I build my apps as 64-bit apps?  Do I need a service pack upgrade to do this?  Or do I need to upgrade to a higher version of LCVI?
    Thanks

    LabWindows/CVI 2009 introduced the ability to create and distribute 64-bit executables, DLLs, and static libraries, see e.g. here

Maybe you are looking for