How to run 32 binary on 64bit arch?

I have all the permissions, and did chmod +x.
I also have all lib32 for games. Nvidia drivers.. etc
This is file output: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.0.30, stripped
What bash says?:  /bin/sh: bad interpreter: Permission denied
And ldd output:    ldd: warning: you do not have execution permission for `./etqw.x86'
                       not a dynamic executable

heres the guide for it arch 64 chroot, dont be intimidated by it, its pretty simple i just did it a few minutes ago actually.

Similar Messages

  • How to run macos universal built binary on 32 bit boot of macbook pro

    I have lot of doubts using universal built binary. I didnt get required information about universal binary from google or documentation provided by macos on universal binary.
    Here are the steps I followed:
    1) I compiled my application selecting architectures i386 and x86_64 (from xcode).
    2) I see application is built as fat binary which supports i386 and x86_64 (using file command).
    TestApp: Mach-O universal binary with 2 architectures
    TestApp (for architecture x86_64): Mach-O 64-bit executable x86_64
    TestApp (for architecture i386): Mach-O executable i386
    3) Now the problem is when I boot 32 bit kernel on macbook pro and try to execute my universal binary, it is behaving as 64 bit architecture application( sizeof(long) and sizeof(char *) is coming as 8 bytes).
    For this I found a way how to run universal binary selecting architecture:
    arch -i386 ./TestApp
    This selects i386 architecture from fat binary and runs the application(sizeof(long) and sizeof(char *) is 4 bytes).
    However, my requirement is I should run universal binary on i386 as i386 application without using arch command.
    Are there any xcode settings to be made to make universal binary run as i386 application on 32 bit macos boot ??? Can we select architectural preferences for running universal binary application ??
    Please help.
    Regards,
    Sumanth

    This is the thing I am doing with my application:
    ioctlBuff.pvInputBuffer = Address of some structure;
    ioctlBuff.ulInputLength = sizeof(some structure);
    ioctlBuff.pvOutputBuffer = pOutputBuffer;
    ioctlBuff.ulOutputLength = dwOutputBufferLength;
    and calling: ioctl((int)pDevIO->m_hDevice, dwIoctl,&ioctlBuff);
    If I make sure driver is hit with the ioctl code I am calling(by maintaining sizeof third parameter in _IOWR('k', 0x854, typedef structure) to be same in driver and application), driver is getting hit with that ioctl code.
    And here is the main issue:
    now driver does:
    copyfromuser(&sRdmBuffer, psIoBuffer->InputBuffer, psIoBuffer->InputLength), it fails to copy as InputBuffer passed by user space is 64 bit pointer!!
    I conformed values i pass to copyfromuser are valid.
    BUT I DONT SEE ANY OF THESE ISSUES IF I USE
    arch -i386 ./TestApp
    for my universal binary as i386 set of text code is picked for execution!
    Thats why I wanted to load i386 arch of my universal binary. I dont want to use arch command.

  • How to run expdp from client ?

    Hi All,
    I tried searching google and forums for my issue but to no avail > How to run expdp from client side ....like in my laptop.
    Because currently our PROD database server has no space for expdp dump file. So I want it directed to my laptop which has an extenal USB of 1TB harddisk...via client EXPDP
    import data using impdp command
    Posted on: 08-May-2012 11:36, by user: 841731 -- Relevance: 53% -- Show all results within this thread
    below command is correct or not? if it is not correct could you please send me the correct command. impdp user/pass@databasename schemas=sourceschemaname remap_schema=sourceschemaname:destinationschemaname ...
    System generated Index names different on target database after expdp/impdp
    Posted on: 30-May-2012 11:58, by user: 895124 -- Relevance: 43% -- Show all results within this thread
    After performing expdp/impdp to move data from one database (A) to another (B), the system name generated indexes has different ...
    [ETL] TTS vs expdp/impdp vs ctas (dblink
    Posted on: 08-May-2012 21:10, by user: 869578 -- Relevance: 39% -- Show all results within this thread
    (table : 500 giga, index : 500 giga), how much faster is TTS (transportable tablespace) over expdp/impdp, and over ctas (dblink) ? As you know, the speed of etl depends on the hardware capacity. (io ...
    Oracle Client
    Posted on: 21-Jun-2012 22:47, by user: Sh**** -- Relevance: 32% -- Show all results within this thread
    Hi Guys, Please can you guys elaborate the difference between Oracle Client and Oracle Instant Client. Also, please can you advise from where I can download the Oracle normal ...
    Oracle 10g Client
    Posted on: 05-Jun-2012 10:11, by user: dzm -- Relevance: 26% -- Show all results within this thread
    to search at oracle site and this forum, but i wasn't able to find a link to download the oracle 10g client. I really need especificaly the 10g version. Anybody know the link or another way to download ...
    9i client to access 11g database
    Posted on: 22-Jun-2012 07:31, by user: kkrm333 -- Relevance: 24% -- Show all results within this thread
    Hi, Can i access a 11g database using 9i client? Thanks,
    SQLplus in Oracle Client
    Posted on: 14-Jun-2012 00:36, by user: Tim B. -- Relevance: 24% -- Show all results within this thread
    Hi, I tried to install an 11g oracle client in linux. As I've compared the files with the files when you install using the oracle instant ...
    Re: Information on Oracle Client 11202-1.1.4-6
    Posted on: 05-Jun-2012 03:33, by user: 898763 -- Relevance: 23% -- Show all results within this thread
    Actually thats the client requirement
    Analysing the performance of a single client
    Posted on: 28-Mar-2012 02:05, by user: 880172 -- Relevance: 23% -- Show all results within this thread
    timeouts even on some of the simplest queries. I want to try and get some data about how just this one client is performing and what it’s doing, but everything Google has thrown up so far is orientated around ...
    to make client connection as sys
    Posted on: 12-Jun-2012 22:04, by user: user11221081 -- Relevance: 23% -- Show all results within this thread
    Dear gurus can i connect to my server from my client machine with sysdba without giving sys password i have connected in different ways as sys@abc ...Thanks a lot.

    Though you can initiate the binary from your client side but for the file creation, there is no other way but to store it on the server side. So your best bet would be to get some space free on the server side of yours.
    Aman....

  • How to run a batch file using tigger....

    Hi, i am trying run a batch file using a trigger on a table.
    say i have a table XYZ(col_1 varchar2 primary key, col_2 varchar2)
    the values of col_2 keeps changing and col_1 are constant
    whenever the value of col_2 in any row changes from "on" to "off" i want to run a batch file C:\Users\ABC\Desktop\test.bat
    i did some searching but couldn't find any solution. Thanks in advance
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    sorry wrong foum to post.
    will post in the correct one
    how to run batch file using trigger?

    Hallo,
    welcome to the forum.
    This is the forum for the tool {forum:id=260}. Your question should be placed in {forum:id=75} or {forum:id=61}.
    When you post your question there please provide additional information like db version, what kind of trigger you want to use, how you want to prevent the execution when the transaction is rolled back... {message:id=9360002}
    Regards
    Marcus

  • How to run kvm on arm linux in skyeye

    1.Redhat linux: .... /skyeye_v1/binary/skyeye
    2.download testsuit from www.skyeye.org , #cd s3c2410 you will see
    initrd.img, skyeye.conf, vmlinux, then i #......... /skyeye_v1/binary/skyeye -e vmlinux
    you will see WELCOME TO ARMLINUX
    3.#cd s3c2410 (initrd.img, skyeye.conf, vmlinux)
    #makdir name
    #ls (result:initrd.img, skyeye.conf, vmlinux,name)
    #mount -o loop initrd.img name
    4.#cd /s3c2410
    #cp ...../kvm ....../s3c2410/name/bin
    #cp ...../libc.so.6 ....../s3c2410/name/bin
    but the spcace on the decive is not enough ,
    what should i do ?
    how to run kvm which is in arm linux which is in skyeye???

    MarkWalsh wrote:
    A fairly easy way, you can add your script to the 'Scripts' menu, then create an action that calls this script (use 'Insert Menu Item' to add to your action) and call this action through a batch in Bridge. One issue with this, though, is that it does require creating an action to specifically call the script, I don't know if you can call the script directly from Bridge.
    I haven't scripted Bridge at all myself, but I believe you should also be able to rewrite your script to get the selection in Bridge, and process those files in Photoshop.
    If your script is set up to process one file at a time, the Bridge/Batch technique is the simplest way to do it.
    If your script needs to know what all of the files are before it can begin processing, you have to add a Menu element in Bridge and have it call your action/script in Photoshop. A bit more complicated, but there are a lot of examples of this at ps-scripts.com.
    -X

  • How to run the job using DBMS_SCHEDULER

    How to run the job using DBMS_SCHEDULER
    pleas give some sample Iam very new to DBMS_SCHEDULER

    Hi
    DBMS_SCHEDULER
    In Oracle 10g the DBMS_JOB package is replaced by the DBMS_SCHEDULER package. The DBMS_JOB package is now depricated and in Oracle 10g it's only provided for backward compatibility. From Oracle 10g the DBMS_JOB package should not be used any more, because is could not exist in a future version of Oracle.
    With DBMS_SCHEDULER Oracle procedures and functions can be executed. Also binary and shell-scripts can be scheduled.
    Rights
    If you have DBA rights you can do all the scheduling. For administering job scheduling you need the privileges belonging to the SCHEDULER_ADMIN role. To create and run jobs in your own schedule you need the 'CREATE JOB' privilege.
    With DBMS_JOB you needed to set an initialization parameter to start a job coordinator background process. With Oracle 10g DBMS_SCHEDULER this is not needed any more.
    If you want to user resource plans and/or consumer groups you need to set a system parameter:
    ALTER SYSTEM SET RESOURCE_LIMIT = TRUE;
    Baisc Parts: Job
    A job instructs the scheduler to run a specific program at a specific time on a specific date.
    Programs
    A program contains the code (or reference to the code ) that needs to be run to accomplish a task. It also contains parameters that should be passed to the program at runtime. And it?s an independent object that can referenced by many jobs
    Schedules
    A schedule contains a start date, an optional end date, and repeat interval with these elements; an execution schedule can be calculated.
    Windows
    A window identifies a recurring block of time during which a specific resource plan should be enabled to govern resource allocation for the database.
    Job groups
    A job group is a logical method of classifying jobs with similar characteristics.
    Window groups
    A window groups is a logical method of grouping windows. They simplify the management of windows by allowing the members of the group to be manipulated as one object. Unlike job groups, window groups don?t set default characteristics for windows that belong to the group.
    Using Job Scheduler
    SQL> drop table emp;
    SQL> Create table emp (eno int, esal int);
    SQL > begin
    dbms_scheduler.create_job (
    job_name => 'test_abc',
    job_type => 'PLSQL_BLOCK',
    job_action => 'update emp set esal=esal*10 ;',
    start_date => SYSDATE,
    repeat_interval => 'FREQ=DAILY; INTERVAL=10',
    comments => 'Iam tesing scheduler');
    end;
    PL/SQL procedure successfully completed.
    Verification
    To verify that job was created, the DBA | ALL | USER_SCHEDULER_JOBS view can be queried.
    SQL> select job_name,enabled,run_count from user_scheduler_jobs;
    JOB_NAME ENABL RUN_COUNT
    TEST_abc FALSE 0
    Note :
    As you can see from the results, the job was indeed created, but is not enabled because the ENABLE attribute was not explicitly set in the CREATE_JOB procedure.
    Run your job
    SQL> begin
    2 dbms_scheduler.run_job('TEST_abc',TRUE);
    3* end;
    SQL> /
    PL/SQL procedure successfully completed.
    SQL> select job_name,enabled,run_count from user_scheduler_jobs;
    JOB_NAME ENABL RUN_COUNT
    TEST_ABC FALSE 0
    Copying Jobs
    SQL> begin
    2 dbms_scheduler.copy_job('TEST_ABC','NEW_TEST_ABC');
    3 END;
    4 /
    PL/SQL procedure successfully completed. Hope it will help you upto some level..!!
    Regards
    K

  • Run a qt program in arch

    I want to run a qt program in arch. Is it necessary to install KDE or GNOME desktop before that? or I can simply run it in console as well? considering that the program is a GUI program with OpenGL.
    if it is possible to run in console as well before tell me how, I have already installed xorg and start x works fine.

    saman_artorious wrote:
    x33a wrote:
    Many qt programs depend on some parts of KDE, so you may need to have those parts installed.
    If the program you need to run is present in the repos, simply install it and pacman will fetch all the required dependencies (i.e., any relevant part of KDE) by itself.
    To sum it up, you don't need to run the KDE suite, but you will have to install the relevant dependencies. The program itself should run fine with any WM or DE.
    what about if I do not download qt using pacman and instead install qt offline? in that case how will it know which dependencies it needs to download?
    1) Stop what you're doing.
    2) Think very carefully about what it is you want to accomplish.
    3) Explain in detail to the people here what it it is you are trying to accomplish, why you wish to do so, and what you've attempted so far in order to do so.
    So far, you've met every answer to one of your questions with yet another, seemingly unrelated question; you're just leading the folks here in circles with no clear goal. No matter what it is you happen to be doing, or when, or where, this is simply not an effective or efficient way to get things done. Arch is a Do-It-Yourself distribution and community; folks here will only remain patient for so long.

  • Running 32bit pbsetup on 64bit l

    I need to run the 32bit version of pbsetup on 64bit arch linux because the game I want is not on the 64bit version.
    When I try to run the 32bit version I get this error message
    ./pbsetup.run: error while loading shared libraries: libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64
    I tried installing lib32-libgtk but there's no such thing. WHat do I do?

    http://wiki.archlinux.org/index.php/Cur … velopement

  • HT201250 running 32bit programs in 64bit windows 7

    My Panasonic camcorder's (SDR-H280) video editing software's (Videocam suite 1.0) upgrade for Winow 7 does not run on Window 7 64bit. I have recently installed WOW64 but cannot run and also the problem is not solved. Please help.

    whitedragon wrote:
    That is because 32bit version do not support 4 gigs of memory. It only supports up to 2 gigs even though it can read more than that.
    Windows 7 is not fully supported as it is not released yet. You might be able to find some Windows Vista 64bit drivers for it but there is no guarantee that it will work.
    You are incorrect! I am UPGRADING from Vista 32bit which supports 4GB of RAM with SP1. If you read my original post, you will see that I already tried the Vista 64bit drivers in Windows 7 64bit.
    Windows 7 is downloadable from Microsoft and also supported already by Parallels v4 and the latest Fusion.
    Hence, my original questions stand: How can I enable fully enable 4GB in Windows 7 32bit? Or, install, with Windows 7 64bit, install the correct Boot Camp drivers?
    As I said, when brunning the Vista 64bit Boot Camp drivers in Windows 7 64bit, it says "Vista x64 Boot Camp not supported on this model."
    Anyone have any suggestions?

  • Wine on 64bit Arch?

    As the title implies, has anyone successfully installed Wine on 64bit Arch?

    gs wrote:su gs
    /home/gs/bin/ie6
    any hints for getting ie6 installed under wine? do you have to install a 32-bit copy of xorg and all that crap? i tried running ie6setup.exe and got this:
    $ wine ie6*
    wine: creating configuration directory '/home/karsten/.wine'...
    Wine cannot find the FreeType font library. To enable Wine to
    use TrueType fonts please install a version of FreeType greater than
    or equal to 2.0.5.
    http://www.freetype.org
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    Wine cannot find the FreeType font library. To enable Wine to
    use TrueType fonts please install a version of FreeType greater than
    or equal to 2.0.5.
    http://www.freetype.org
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    Application tried to create a window, but no driver could be loaded.
    Make sure that your X server is running and that $DISPLAY is set correctly.
    Application tried to create a window, but no driver could be loaded.
    Make sure that your X server is running and that $DISPLAY is set correctly.
    err:imagelist:ImageList_ReplaceIcon no color!
    edit-- HAHA nevermind-- was looking for .xauthority to copy over to the new ~ dir instead of .Xauthority doh

  • [SOLVED]Compiling 32bit C programs on a 64bit arch

    Hi guys, for the first time I decided to use 64bit arch on my machine and so far no complains (I don't think there will ever be). I'm a student of computer engineering  and I use C to code some projects but I haven't found a way to compile 32bit programs on my 64bit arch. Everybody says "just add -m32 flag to the compile step" but I think this is not all I have to do (it doesn't work if I just do that).
    To prove it I have created a simple "hello world" in C:
    #include <stdio.h>
    int main(){
    printf("Hello, World");
    return 0;
    When I try to compile it, I just run
    gcc -m32 hello.c -o hello
    But all I get is
    In file included from /usr/include/features.h:399:0,
    from /usr/include/stdio.h:27,
    from test.c:1:
    /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
    compile finish
    Needless to say it doesn't create the hello executable. Is there some packages I have to install in order to have this happen?
    Last edited by xangelux (2012-07-25 00:24:40)

    xangelux wrote:/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
    Well, you could see that something "-32" is missing so you are searching for 32 bit stuff that is not installed.
    There's a tool called pkgfile which searches in the repository database for a file name and tells you which package it is in.
    In this case, stubs-32.h
    ~ % pkgfile stubs-32.h
    multilib/lib32-glibc
    Maybe another helpful article: https://wiki.archlinux.org/index.php/Ar … ib_Project

  • HOW TO RUN ADOBE READER IN MACBOOK PRO

    HOW TO RUN ADOBE READER IN MACBOOK PRO

    Please stop using caps.  It is considered shouting and rude.
    You need to download the program. The reader runs when needed.
    Barry

  • How to run 'Get-AssignedAccess' or 'Set-AssignedAccess' power shell commands in c# Application

    Hi,
    I have console application using which i am trying to run power shell command  like 'Get-AssignedAccess' or 'Set-AssignedAccess'.
    i am using below code for this it is throwing exception 'Get-AssignedAccess' doesn't exist in cmdlet which is correct because these commands belongs to function category.
    using (PowerShell pwInstance = PowerShell.Create())
                            pwInstance .AddScript("Get-AssignedAccess");
                            var result = pwInstance .Invoke();
    How can we execute this kind of command using c#?
    Thanks,

    Hi prakashlight,
    Thank you for comming back and tell us the result. For more information about how to run PowerShell script in C# language, you can refer to this blogpost here:
    Executing PowerShell scripts from C#
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Does anyone know How to run twin monitors on a MacBook Pro operating on a Windows Server 2008 R2 ?

    Hi
    Does anyone know How to run twin monitors on a MacBook Pro operating on a Windows Server 2008 R2 ?

    I know this doesn't help you much, but, I think you have to see if your Mac pro does audio out via HDMI. I don't even know if mine does via DVI. I think it may have to do with the adapter. Try going into Audio MIDI and setting the digital out to multichannel
    and using the toslink cable for now. Lemme see...apparently DVI does not carry audio at all. Hm. apparently monoprice could be helpful?  If I understand what you're saying correctly: you want to take DVI and multichannel audio via the Toslink and have it all go out over HDMI, right? Whooo..... amazon...looks like it's about $100http://www.amazon.com/Audio-SPDIF-Toslink-Converter-Adapter/dp/B0015YYOQQ
    just a shot in the dark
    I'm probably wrong....or not
    John B

  • How to run a Concurrent Program from the back end?

    Hi,
    How to run a Concurrent Program from the back end?
    Is it Possible to see that Concuurent Request id which we run from the back end, in the front end?
    If yes, then Please Give reply how to write the code
    Thanks in Advance,
    Bharathi.S

    This is documented in Chapter 20 of the Application Developers Guide http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121devg.pdf. These MOS Docs also have some information available
    221542.1 - Sample Code for FND_SUBMIT and FND_REQUEST API's
    235359.1 - How to Launch Planning Data Pull MSCPDP using FND_REQUEST.SUBMIT_REQUEST
    HTH
    Srini

Maybe you are looking for

  • How do i transfer iTunes from mac to mac?

    how do i transfer iTunes from mac to mac?

  • "Render and replace" now converts to .mov, not audio wav files like before

    In previous versions, the "render and replace" functionality allowed you to quickly extract audio from clips and turn them into audio files. Now in CC 2014 the audio gets replaced with another movie file with no video track. This is useless when tryi

  • Need help setting up email on 10g

    Okay, so I've run the utlmail.sql and the prvtmail.plb and it successfully completed. From what I understand I now need to do something like alter system set smtp_out_server = '<ip-address:port' scope=Both; My question is, how do I know what to put f

  • Message for Dirk Herzog . Routine Help

    Hello, I saw in Eugenes blog a routine you have provided for removing invalid/HEX characters during loads .When i try to use that routine in my transformations in BI 7.0 i get an error message .This is my code, followed by the error on the bottom. DA

  • Adobe CS5 Release Date & Win 7 CS4 Compatibility

    Hey, Does anyone know when Adobe CS5 will be released and whther it will have any big changes than CS4 as I am eager to hit the checkout button to buy CS4 Design Premium Student Edition. Also, before I buy is there any compatibility issues with Windo