/usr/bin/ld: CANNOT EXECUTE binary file!

So whenever I try to compile something, I get to the step
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
And looking at the log, my problem is...
/usr/bin/ld: /usr/bin/ld: cannot execute binary file
Which... Is bad. Yes, I've tried chmodding it +x. I've also tried logging in as root and trying to run it, no luck.
What's wrong? =/
Would asking someone else with an iMac G5 to send me theirs, fix it?

Running configure on all open source packages brings me to the ld cannot execute error in configure.log. In this case I was attempting to build libssh2 (SSH functions for PHP).
Thanks for the link Nils, I'll try that.

Similar Messages

  • [SOLVED]pacman fails to upgrade... /usr/bin/vercmp: cannot execute bin

    Proceed with installation? [Y/n] y
    :: Retrieving packages from core...
    pacman-3.2.1-1-x86_64 491.3K 1850.7K/s 00:00:00 [########################################################################################################] 100%
    checking package integrity...
    (1/1) checking for file conflicts [########################################################################################################] 100%
    (1/1) upgrading pacman [########################################################################################################] 100%
    warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
    /tmp/alpm_eT02H1/.INSTALL: line 5: /usr/bin/vercmp: cannot execute binary file
    /tmp/alpm_eT02H1/.INSTALL: line 5: [: : integer expression expected
    Here is more info on my system and the file vermcp is installed and permissions seem correct.
    http://rafb.net/p/MYk3pO21.html
    HELP?
    Last edited by rooloo (2008-09-09 00:07:09)

    Ok, this was my dumb mistake again. I was testing out powerpill on my server which is a 32 bit machine. I tried copying my 64 bit mirrorlist to my 32 bit server because I have it ranked and slimmed down to only the essential servers.

  • [SOLVED] cannot execute binary file / humble bundle

    I'm having trouble executing a number of games I've downloaded via Humble Bundle. One game, for example, I downloaded as "supermeatboy-linux-06072012-bin". Here are some of the outputs I get while attempting to execute:
    $ bash supermeatboy-linux-06072012-bin
    supermeatboy-linux-06072012-bin: supermeatboy-linux-06072012-bin: cannot execute binary file
    $ sh supermeatboy-linux-06072012-bin
    supermeatboy-linux-06072012-bin: supermeatboy-linux-06072012-bin: cannot execute binary file
    $ ./supermeatboy-linux-06072012-bin
    bash: ./supermeatboy-linux-06072012-bin: No such file or directory
    I'm getting the same scenario from a number of other games so I suspect the issue to be with either my environment or my approach.
    My architecture is x86_64
    I'd be more than happy to supply any additional environmental information
    Thanks archers
    Last edited by shoe (2013-11-11 15:05:40)

    Muflone wrote:
    More likely you're trying to use a 32 bit file without having the ia32 libraries.
    Please execute
    file supermeatboy-linux-06072012-bin
    and check if reports ELF 32-bit something. In such case please enable the multilib repository from /etc/pacman.conf and install the lib32 packages (surely the lib32-glibc and maybe others).
    Hint: a supermeatboy package exists in the AUR but I've never used it.
    $ file  supermeatboy-linux-06072012-bin
    supermeatboy-linux-06072012-bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), GNU/Linux 2.6.8, stripped
    multilib is enabled and I installed lib32-glibc-2.18-8 succesfully, however am getting the same issue. I see whole a lot of different lib32 packages available, are there maybe some more I should try?
    Worth noting that I do have all of the depencies installed that AUR suggests supermeatboy uses
    I suppose I could install via pacman, but this wouldn't solve the issue for the few other games with the same errors. I'm mostly just looking to learn how to make it work
    Thanks for reply!

  • 64 bit RHEL 4 - runInstaller: cannot execute binary file

    I have downloaded Forns and Reports services install of application server for itanium linux. When trying to run the installer, I get:
    /opt/oracle/depot/Disk1/runInstaller: line 135: /opt/oracle/depot/Disk1/install/runInstaller: cannot execute binary file
    Google brought back hits about 32-bit installer on 64-bit linux. This is 64-bit installer on 64-bit linux:
    file /sbin/init
    /sbin/init: ELF 64-bit LSB executable, AMD x86-64 ...
    file /opt/oracle/depot/Disk1/install/runInstaller
    /opt/oracle/depot/Disk1/install/runInstaller: ELF 64-bit LSB executable, IA-64, ...
    Any help is appreciated.

    linux32 bash

  • I cannot open AirPortDevices Unix Executable file it says  cannot execute binary file

    i cannot open AirPortDevices Unix Executable file. when i try it says cannot execute binary file

    If you are wiling to share one of these files via Dropbox, I have a few old Macs floating around that I can use to figure out what files these are, if they are not corrupted during the copying process.
    Have you tried OpenOffice or LibreOffice?
    If you can see the dates on these files, you can also try looking at http://en.wikipedia.org/wiki/Comparison_of_word_processors to see what could have been used.
    Do you recall the source machine from where these came? You have mentioned Classic II and SE 30.

  • [solved]cannot execute binary files

    For example, what I'm trying to do:
    [summerset@arch tmp0]$ ls
    test.cpp
    [summerset@arch tmp0]$ cat ./test.cpp
    #include <fstream>
    int main() {
    printf("here am I");
    [summerset@arch tmp0]$ g++ ./test.cpp
    [summerset@arch tmp0]$ ./a.out
    bash: ./a.out: Permission denied
    [summerset@arch tmp0]$ chmod +x ./a.out
    [summerset@arch tmp0]$ ./a.out
    bash: ./a.out: Permission denied
    [summerset@arch tmp0]$ file ./a.out
    ./a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
    [summerset@arch tmp0]$ ldd ./a.out
    ldd: warning: you do not have execution permission for `./a.out'
    not a dynamic executable
    [summerset@arch tmp0]$ uname -a
    Linux arch 2.6.34-bfs #1 SMP PREEMPT Fri May 21 08:18:49 ALMT 2010 i686 AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 AuthenticAMD GNU/Linux
    [summerset@arch tmp0]$
    The same thing when I try to run it from root. Any suggestions?
    Last edited by veen (2010-05-23 23:44:17)

    unplugged23 wrote:Most desktop enviornments and window managers should allow you to right click on the file, hit properties, and check a little box titled something like 'is executable'
    A have already did that:
    chmod +x ./a.out
    Really, it's strange. Have anyone had similar problem?
    upd: the problem actually was in mount options for my home partition.
    Last edited by veen (2010-05-23 23:45:35)

  • [Solved] Permissions problem /usr/bin/install: cannot create

    I've been looking at this for quite a while now and am running out of ideas/inspiration. Google isn't helping and after reading the docs on the wiki, I'm still none the wiser.
    So, I've compiled the source code properly but my PKGFILE is having a problem at the make install stage:
    make[2]: Entering directory `/home/adam/Downloads/foo/src/foobillard-2.9/src'
    /bin/sh ../mkinstalldirs /usr/bin
    /usr/bin/install -c foobillard /usr/bin/foobillard
    /usr/bin/install: cannot create regular file ‘/usr/bin/foobillard’: Permission denied
    make[2]: *** [install-binPROGRAMS] Error 1
    make[2]: Leaving directory `/home/adam/Downloads/foo/src/foobillard-2.9/src'
    make[1]: *** [install-am] Error 2
    make[1]: Leaving directory `/home/adam/Downloads/foo/src/foobillard-2.9/src'
    make: *** [install-recursive] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    My PKGFILE can be seen at: http://pastebin.com/wrbZ6niq.
    TIA
    Last edited by kabads (2013-05-14 20:50:54)

    kabads wrote: and after reading the docs on the wiki, I'm still none the wiser.
    What exactly have you been reading? Because if you take /usr/share/pacman/PKGBUILD.proto or read https://wiki.archlinux.org/index.php/Creating_Packages, you can't get to what you have without some serious changes. It seems like you took some bad and old PKGBUILD (not PKGFILE) as a starting point instead of more official/up-to-date docs.
    At the very least you should read the section about the package() function.
    Edit: now you can copy/paste from the above reply, but try to understand how makepkg works. And since you passed the prefix to ./configure, it's unlikely that you'll need it again for the install step.
    Last edited by Raynman (2013-05-14 20:25:51)

  • Patch 8557019 -  /usr/bin/ld: cannot find -ldeb

    Hi there,
    I have upgraded an ebs system from 11-5-10-2-1 to r12 12.1.3 - I am in the process of patchiong reports and forms to latest version (10.1.2.3.1)
    unfortunately one of the patches errors.
    The system is on Linux x86-64
    Here is what I did and what I experienced :-
    cd /u03/oraupg/inst/apps/oraupg_findbupg/ora/10.1.2
    sh oraupg_findbupg.env
    linux32 bash
    cd /u03/oraupg/apps/patches/10-1-2-patches/8557019
    opatch apply
    What I experienced :-
    [applmgr@findbupg 8557019]$ opatch apply
    Oracle Interim Patch Installer version 1.0.0.0.63
    Copyright (c) 2009 Oracle Corporation. All Rights Reserved..
    Oracle recommends you to use the latest OPatch version
    and read the OPatch documentation available in the OPatch/docs
    directory for usage. For information about the latest OPatch and
    other support-related issues, refer to document ID 293369.1
    available on My Oracle Support (https://myoraclesupport.oracle.com)
    Oracle Home : /u03/oraupg/apps/tech_st/10.1.2
    Oracle Home Inventory : /u03/oraupg/apps/tech_st/10.1.2/inventory
    Central Inventory : /u01/oracle/product/oraInventory
    from : /etc/oraInst.loc
    OUI location : /u03/oraupg/apps/tech_st/10.1.2/oui
    OUI shared library : /u03/oraupg/apps/tech_st/10.1.2/oui/lib/linux/liboraInstaller.so
    Java location : /u03/oraupg/apps/tech_st/10.1.2/jre/1.4.2/bin/java
    Log file location : /u03/oraupg/apps/tech_st/10.1.2/.patch_storage/<patch ID>/*.log
    Creating log file "/u03/oraupg/apps/tech_st/10.1.2/.patch_storage/8557019/Apply_8557019_05-31-2011_16-29-40.log"
    Invoking fuser to check for active processes.
    Provide your email address to be informed of security issues, install and
    initiate Oracle Configuration Manager. Easier for you if you use your My
    Oracle Support Email address/User Name.
    Visit http://www.oracle.com/support/policies.html for details.
    Email address/User Name:
    You have not provided an email address for notification of security issues.
    Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Yes
    Oracle Configuration Manager has been installed but not configured. OCM enables
    Oracle to provide superior, proactive support for our customers. Oracle
    strongly recommends customers configure OCM. To complete the configuration of
    OCM, refer to the OCM Installation and Administration Guide
    (http://www.oracle.com/technology/documentation/ocm.html).
    Backing up comps.xml ...
    OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.
    Please shut down Oracle instances running out of this ORACLE_HOME
    (Oracle Home = /u03/oraupg/apps/tech_st/10.1.2)
    Is this system ready for updating?
    Please respond Y|N >
    Y
    Applying patch 8557019...
    Patching archive files...
    Running make for target install.
    OPatch found the word "error" in stderr, please look into it.
    You may have to run the make again.
    Stderr Output (from /u03/oraupg/apps/tech_st/10.1.2/.patch_storage/8557019/make_local.stderr):
    /usr/bin/ld: skipping incompatible /u03/oraupg/apps/tech_st/10.1.2/lib//libdeb.so when searching for -ldeb
    /usr/bin/ld: skipping incompatible /u03/oraupg/apps/tech_st/10.1.2/lib//libdeb.a when searching for -ldeb
    /usr/bin/ld: skipping incompatible /u03/oraupg/apps/tech_st/10.1.2/lib//libdeb.so when searching for -ldeb
    /usr/bin/ld: skipping incompatible /u03/oraupg/apps/tech_st/10.1.2/lib//libdeb.a when searching for -ldeb
    /usr/bin/ld: skipping incompatible /u03/oraupg/apps/tech_st/10.1.2/lib/libdeb.so when searching for -ldeb
    /usr/bin/ld: skipping incompatible /u03/oraupg/apps/tech_st/10.1.2/lib/libdeb.a when searching for -ldeb
    /usr/bin/ld: cannot find -ldeb
    collect2: ld returned 1 exit status
    make: *** [dejvm] Error 1
    [email protected] - June 1, 2011 9:57:54 AM GMT+12:00 [Update from Customer]
    OPatch encounters the following issues during Make:
    There were problems running make commands. The errors encounted were:
    Error for command: cd /u03/oraupg/apps/tech_st/10.1.2//procbuilder/lib
    /usr/bin/make -f ins_procbuilder.mk install ORACLE_HOME="/u03/oraupg/apps/tech_st/10.1.2" 2>/u03/oraupg/apps/tech_st/10.1.2/.patch_storage/8557019/make_local.stderr
    Replying 'Y' will terminate the patch installation immediately.It WILL NOT restore any updates that have been performed to this point. It WILL NOT update the inventory.
    Replying 'N' will continue with updating the inventory showing the patch has been applied.
    NOTE: After replying either 'Y' or 'N' it is critical to review:
    My Oracle Support Note 312767.1 How to rollback a failed Interim patch installation.
    Do you want to STOP?
    Please respond Y|N >
    Y
    Make Error!
    ERROR: OPatch failed during patching, possibly due to missing files.
    [applmgr@findbupg 8557019]$
    Welcome advice re how to fix this problem - thanks to all who have helped me in the past.
    cheers, Rob

    Hello Diesel,
    As per Note 1266729.1 : "Applying Patch 8557019 and encounter /usr/bin/ld: cannot find -ldeb error running make -f ins_procbuilder.mk install" this can be fixed by appying patch 8551790 first.
    Regards, Carlo.

  • Compiling error with /usr/bin/ld: cannot find -l error

    With the help of ToddLittle, I have solved a lot of problem with tuxedo as I am a freshman to it.Thank you ToddLittle!
    However I meet a new problem with compiling my new program. I got this error:
    /usr/bin/ld: cannot find -l/home/cjf/oracle/tuxedo12.1.1.0/include
    where /home/cjf/oracle/tuxedo12.1.1.0 is my tuxedo installation path.
    I build it under ubuntu 12.04 64 bit and my IDE is eclipse.
    How to solve it? thanks!

    Usually it is best to execute the script that is installed in the Tuxedo installation directory that sets up all the necessary environment variables.  That script is $TUXDIR/tux.env.  Source that script before trying to use buildclient or buildserver or any other Tuxedo command to solve most problems like this.
    PS You might want to check out Solaris Studio if you want to use an IDE as there is a Tuxedo plug-in for it that really helps in developing Tuxedo applications.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • Can't build jade package, /usr/bin/ld: cannot find -lsp

    Hello everyone (my first post here )
    I installed Archlinux because of it's ease of use when compiling the whole system (compared to Gentoo and others), I have my first install of Archlinux, and began to compile all packages in the system using the pacbuilder community script (note I havn't use the testing repositories when installing packages).
    Some packages compiles well but when it comes to the jade package it fails, I got the following error:
    /usr/bin/ld: cannot find -lsp
    collect2: ld returned 1 exit status
    make[2]: *** [libspgrove.la] Error 1
    make[2]: Leaving directory `/tmp/pacbuilder/build/jade/src/jade-1.2.1/spgrove'
    make[1]: *** [spgrove] Error 2
    make[1]: *** Waiting for unfinished jobs....
    /usr/bin/ld: cannot find -lsp
    collect2: ld returned 1 exit status
    make[2]: *** [libstyle.la] Error 1
    make[2]: Leaving directory `/tmp/pacbuilder/build/jade/src/jade-1.2.1/style'
    make[1]: *** [style] Error 2
    make[2]: Leaving directory `/tmp/pacbuilder/build/jade/src/jade-1.2.1/lib'
    make[1]: Leaving directory `/tmp/pacbuilder/build/jade/src/jade-1.2.1'
    make: *** [all] Error 2
    I think I'm missing some devlopment library that comtains the lsp command, right?
    Please help me to solve the problem
    thanks

    Thank you Allan,
    It worked when changing the PKGBUILD within the jade folder in /tmp/pacbuilder/build, but I must change this file after that pacbuilder made the folder and before the building process begin (you have a shore time to edit, and it is not practical when building the whole system) is it any better ide like editing another file in ABS..?

  • /usr/bin/ld: cannot find -lR

    I can not compile rkward (http://rkward.sf.net).
    Error infomation here:
    source='helpdlg.cpp' object='helpdlg.o' libtool=no
    depfile='.deps/helpdlg.Po' tmpdepfile='.deps/helpdlg.TPo'
    depmode=gcc3 /bin/sh ../admin/depcomp
    g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include -I/opt/qt/include -I/usr/X11R6/include  -I/usr/lib/R/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -march=i686 -O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o helpdlg.o `test -f 'helpdlg.cpp' || echo './'`helpdlg.cpp
    /bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -march=i686 -O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common    -o rkward -L/usr/X11R6/lib -L/opt/qt/lib -L/opt/kde/lib  -L/usr/lib/R/lib/  rkwatch.o rkward.o main.o rkoutputwindow.o rkcommandeditor.o rkglobals.o robjectbrowser.o rkeditormanager.o robjectviewer.o khelpdlg.o rkhelpdock.o rkconsole.o rkkonsole.o helpdlg.o rkward.moc.o rkkonsole.moc.o rkwatch.moc.o  ../rkward/windows/libwindows.a ../rkward/agents/libagents.a ../rkward/dialogs/libdialogs.a ../rkward/plugin/libplugin.a ../rkward/settings/libsettings.a ../rkward/dataeditor/libdataeditor.a ../rkward/core/libcore.a ../rkward/rbackend/librbackend.a ../rkward/scriptbackends/libscriptbackends.a ../rkward/misc/libmisc.a -lkhtml -lkmdi -lkio -lkdeui -lkdecore -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread  -lR -lkatepartinterfaces
    /usr/bin/ld: cannot find -lR
    collect2: ld returned 1 exit status
    make[3]: *** [rkward] Error 1
    make[3]: Leaving directory `/home/kevin/tmp/rkward/src/rkward-0.3.2/rkward'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/kevin/tmp/rkward/src/rkward-0.3.2/rkward'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/kevin/tmp/rkward/src/rkward-0.3.2'
    make: *** [all] Error 2
    ==> ERROR: Build Failed.  Aborting...

    I checked the rkward's INSTALL file, it seems to need libR.so, which is absolutely not in arch's r package!

  • "/usr/bin/ld: cannot find -lgcrypt " having libgcrypt installed !?!

    Hello,
    I got this problem while trying to install "uswsusp" from AUR with yaourt, when it comes to compile :
    gcc -DS2RAM -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -static -o resume resume-resume.o libsuspend-common.a -llzo2 -lgcrypt -lgpg-error
    /usr/bin/ld: cannot find -lgcrypt
    But libgcrypt is already installed and the programs seems to find it :
    checking for libgcrypt... found
    I didn't managed to find anything across the web... Thanks in advance for any help !

    ankan has a solution in the AUR comments: http://aur.archlinux.org/packages.php?ID=14093
    ankan wrote:
    "-static" disables linkning with dynamic libraries. So you have the package - but not the static libraries.
    Try rebuilding libgcrypt from abs and remove "--disable-static".
    It looks like you guys are new users, so you might not know how ABS works yet.  Take a look here for a quick walkthrough on ABS and makepkg.  You'll need to edit libgcrypt's stock PKGBUILD file and take out "--disable-static" before you run makepkg.
    Last edited by creslin (2008-10-15 23:09:05)

  • Libx32-glibc fails to build - /usr/bin/ld: cannot find -lgcc

    I am trying to run steam using my own runtime libraries, however I'm missing libcrypt.so.11
    After trawling through a chain of dependencies, I'm stuck on libx32-glibc.
    When attmpting to build libx32-glibc I encounter an error while gcc is trying to compile elf/librtld.mapT
    [myusername@hostname libx32-glibc]$ makepkg -R
    ==> Making package: libx32-glibc 2.18_12-1 (Sun Feb 9 18:12:22 NZDT 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting package()...
    LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \
    make -r PARALLELMFLAGS="" -C /home/myusername/aur/libx32-glibc/src/glibc-2.18 objdir=`pwd` install
    make[1]: Entering directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18'
    make subdir=csu -C csu ..=../ subdir_lib
    make subdir=iconv -C iconv ..=../ subdir_lib
    make[2]: Entering directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18/iconv'
    make[2]: Nothing to be done for 'subdir_lib'.
    make[2]: Leaving directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18/iconv'
    make[2]: Entering directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18/login'
    make[2]: Nothing to be done for 'subdir_lib'.
    make[2]: Leaving directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18/login'
    make subdir=elf -C elf ..=../ subdir_lib
    make[2]: Entering directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18/elf'
    /opt/gcc-x32-seed/bin/gcc -mx32 -B/opt/gcc-x32-seed/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/ -Wl,-O1,--sort-common,--as-needed,-z,relro -nostdlib -nostartfiles -r -o /home/myusername/aur/libx32-glibc/src/glibc-build/elf/librtld.map.o '-Wl,-(' /home/myusername/aur/libx32-glibc/src/glibc-build/elf/dl-allobjs.os /home/myusername/aur/libx32-glibc/src/glibc-build/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/home/myusername/aur/libx32-glibc/src/glibc-build/elf/librtld.mapT
    /usr/bin/ld: cannot find -lgcc
    collect2: error: ld returned 1 exit status
    Makefile:285: recipe for target '/home/myusername/aur/libx32-glibc/src/glibc-build/elf/librtld.map' failed
    make[2]: *** [/home/myusername/aur/libx32-glibc/src/glibc-build/elf/librtld.map] Error 1
    make[2]: Leaving directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18/elf'
    Makefile:236: recipe for target 'elf/subdir_lib' failed
    make[1]: *** [elf/subdir_lib] Error 2
    make[1]: Leaving directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18'
    Makefile:12: recipe for target 'install' failed
    make: *** [install] Error 2
    ==> ERROR: A failure occurred in package().
    Aborting...
    In accordance with this solved topic for a similar issue, I have ensured that options=('staticlibs') is present in PKGBUILD:
    options=('!strip' '!emptydirs' 'staticlibs')
    I have tried re downloading and compiling all the src but the same issue occurs.
    Here is a list of gcc/glibc/multilib packages that I have installed:
    [mephage@tws01 exercise1]$ pacman -Q | grep -E -e 'multilib|gcc|glibc'
    binutils-multilib 2.24-1
    gcc-libs-multilib 4.8.2-7
    gcc-multilib 4.8.2-7
    gcc-x32-seed 4.8.2_7-1
    glibc 2.18-12
    glibc-x32-seed 0.1.0-1
    lib32-gcc-libs 4.8.2-7
    lib32-glibc 2.18-12
    libtool-multilib 2.4.2-12
    Here is a list of aur packages that I have installed:
    [mephage@tws01 exercise1]$ pacman -Qm
    gcc-x32-seed 4.8.2_7-1
    glibc-x32-seed 0.1.0-1
    linux-ck 3.12.9-3
    linux-ck-headers 3.12.9-3
    nvidia-ck 331.38-2
    xdm-arch-theme 2.3.1-3

    Still haven't resolved this. However, I did see that there is more information in /home/myusername/dir-where-i-extract-aur-tarballs/libx32-glibc/src/glibc-build/config.log:
    /usr/bin/ld: cannot find -lgcc
    /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
    /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
    /usr/bin/ld: cannot find -lc
    /usr/bin/ld: cannot find -lgcc
    collect2: error: ld returned 1 exit status
    My guess is that I need a compatible libc.so so that /usr/bin/ld can create the links using gcc.
    Edit: Removed a line that was incorrect
    Last edited by mephage (2014-02-23 04:54:07)

  • -bash: /usr/bin/grep: Bad executable (or shared library)

    I am receiving these error messages when I attempt to use grep, egrep, or fgrep from the terminal:
    -bash: /usr/bin/grep: Bad executable (or shared library)
    -bash: /usr/bin/egrep: Bad executable (or shared library)
    -bash: /usr/bin/fgrep: Bad executable (or shared library)
    I suspect that a library that these utilities use is corrupt, but I am not sure how to determine what libraries the executables use and how to restore them if they are indeed corrupt. Can someone fill me in?
    Thanks,
    Greg
    Dual 2 GHz PowerPC G5   Mac OS X (10.4.7)  

    Hi Greg,
       Sorry, otool is installed by Apple's Developer Tools package. The other listings you posted are also identical to mine so I'm stumped. I also have a G5 so the fact that your items are the same size as mine is at least strong evidence that they aren't corrupted.
       You can use the application Pacifist, to pull a new copy of grep from your Mac OS X install disk. It couldn't hurt to be sure.
       libSystem.B.dylib is in turn dependent on /usr/lib/system/libmathCommon.A.dylib so there's one more possibility for a problem but there the dependency chain stops. Besides, if either of those libraries were corrupted, I would think you would have noticed something before.
       You should check to see if the following environment variable is defined: (it should not be defined)
    echo $DYLDLIBRARYPATH
    You should also login as another user (even if you have to create one temporarily) and execute grep. If that user can do it then the problem lies in the environment of your current user.
    Gary
    ~~~~
       Old Mother Hubbard went to the cupboard
       To fetch her poor daughter a dress.
       When she got there, the cupboard was bare
       And so was her daughter, I guess...

  • Error: can not execute binary files SAP on Linux

    Dear Gurus.
    I have installed SAP test drive netweaver 2004 on my Linux. when ever i am trying to get the hardware key by the command Saplicense - get, I am getting the error message that " can not execute binary file."
    pls do let me know how to get rid of this.
    Abhishek

    > I have installed SAP test drive netweaver 2004 on my Linux. when ever i am trying to get the hardware key by the command Saplicense - get, I am getting the error message that " can not execute binary file."
    Please post the output of the commands (as use <sid>adm):
    file `which saplicense`
    uname -a
    Markus

Maybe you are looking for