Announcement

Collapse
No announcement yet.

Executable won't execute

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Executable won't execute

    After spending two hellish days trying to get a computer that works (the updater decided to take a nose dive with all my stuff) and finally getting all my important files off for the clean install I find that something has gone wrong. Namely my executables don't go. I was trying to get all my programs back on and I was working on Regnum Online when I found out about this. I downloaded the file as a .tar.gz and extracted it to it's own folder on my desktop and click on it to run (because it's an executable file.) Nothing. So I open the properties to make sure it's executable, it is. So I try that 'run as root' option and nothing again. Fine, I can deal with that. I open konsole and go to sudo sh it. And I get
    /home/wolf/Desktop/rolauncher/rolauncher: 1: Syntax error: "(" unexpected

    What's going wrong and how can I fix this?

    #2
    Re: Executable won't execute

    Wrong syntax i guess,could we see the file? :-)

    Comment


      #3
      Re: Executable won't execute

      Huge file. And when I open it in kate I get a lot of nonsense (it's a binary). But here's the link to download it: http://www.regnumonline.com.ar/downl...auncher.tar.gz
      It's 4MB so I can't just include it as an attachment. :P
      There seems to be only one similar problem on the game forums but about halfway through his problem and mine diverge.
      While that game may have it's issues, I think this is something I have configured wrong on my own computer.

      Here's the ldd of it:
      Code:
      rolauncher$ ldd rolauncher
          linux-gate.so.1 => (0xffffe000)
          libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f5a000)
          libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7f55000)
          libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7bcf000)
          libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7b48000)
          libGL.so.1 => /usr/lib/libGL.so.1 (0xb7ab2000)
          libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb7aad000)
          libXext.so.6 => /usr/lib/libXext.so.6 (0xb7a9f000)
          libXt.so.6 => /usr/lib/libXt.so.6 (0xb7a4e000)
          libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb795a000)
          libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7935000)
          libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb792a000)
          libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb77e0000)
          libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7723000)
          libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb770b000)
          libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb76cd000)
          libX11.so.6 => /usr/lib/libX11.so.6 (0xb75dc000)
          libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb75a1000)
          libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb759d000)
          libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb759a000)
          libSM.so.6 => /usr/lib/libSM.so.6 (0xb7592000)
          libz.so.1 => /usr/lib/libz.so.1 (0xb757c000)
          libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb755c000)
          /lib/ld-linux.so.2 (0xb7f83000)
          librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7553000)
          libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb754a000)
          libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb7547000)
          libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7543000)
          libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb753e000)
          libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7523000)
          libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb751f000)
          libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb74a8000)
          libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb747d000)
          libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7474000)
          libXi.so.6 => /usr/lib/libXi.so.6 (0xb746c000)
          libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7466000)
          libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb745d000)
          libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb6ac5000)
          libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb6ac2000)
          libXau.so.6 => /usr/lib/libXau.so.6 (0xb6abf000)
          libICE.so.6 => /usr/lib/libICE.so.6 (0xb6aa7000)
          libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6aa2000)
          libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb6a73000)
          libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6a03000)
          libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb69e0000)
      So I don't *think* it has to do with any missing libraries. But I could be wrong, and with a new OS I quite often am.


      EDIT: It's not just this. I tried to run Castle Wolfenstein and ran into the same problem. I installed it fine, but when I go to run it I get the same error message. So now I'm pretty sure that it's my computer.

      P.S. This is a clean (I mean *completely* clean, I ran DBAN before I installed again) install.

      Comment


        #4
        Re: Executable won't execute

        Well yeasterday i found out i keep getting this syntax error when trying to start compiled executable with sh (mean $ sh ./file instead $ ./file) ...isn't it this prob? :-)

        Comment

        Working...
        X