Missing /usr/bin/make

(Oracle Standarad edition 8.1.5, RH6.1)
When I ran the 8i patches I get a bunch of error messages in the log files saying that the command gmake is missing. This in turn creates other errors and causes the relinking to not work correctly. I have read the 8i patch FAQ, but unfortunately I don't have /usr/bin/make either. Any ideas?
Thanks

Then you have to install make from your RedHat CD, then if needed, do the symbolic link.

Similar Messages

  • [Solved] Virtualbox-source missing /usr/bin/vboxbuild

    New virtualbox source missing /usr/bin/vboxbuild
    i cant load my vboxdrv module & i also cant build vboxdrv module
    new vbox-source 4.1.18-3 (2012-07-24) dont have vboxbuild script
    anyone also have problem with this issue?
    btw i use ck-kernel
    Last edited by dhiika (2012-07-25 01:19:27)

    xzy3186 wrote:
    gbc921 wrote:
    I'm also using the linux-ck from AUR and I could not load vboxdrv even after the "# dkms setup vboxhost/4.1.18"
    It has compiled fine, but when I do "$ sudo rc.d start dkms" it gives me this:
    :: Starting Dynamic Kernel Module System [BUSY] Error! Could not locate dkms.conf file.
    File: does not exist.
    ERROR: could not insert 'vboxdrv': Exec format error
    ERROR: could not insert 'vboxnetadp': Exec format error
    ERROR: could not insert 'vboxnetflt': Exec format error
    ERROR: could not insert 'vboxpci': Exec format error
    If I try to compile it again then:
    $ sudo dkms install vboxhost/4.1.18
    Module vboxhost/4.1.18 already installed on kernel 3.4.6-2-ck/x86_64
    I have installed these packages:
          community/virtualbox 4.1.18-4
          community/virtualbox-additions 4.1.18-1
          community/virtualbox-modules 4.1.18-4
          community/virtualbox-source 4.1.18-4
          aur/virtualbox-hook 1.0-3
    Sincerely,
    The same problem here. I compiled virtualbox-source 4.1.18-4 with "dkms install" under linux-ck-3.4.6-2 but had "ERROR: could not insert 'vboxdrv': Exec format error" whilie trying to modprobe.
    Solved:According to https://bbs.archlinux.org/viewtopic.php?id=145925, I should delete "old" vboxdrv generated by vboxbuild.
    Yeah! Removing the modules from /usr/lib/extramodules... and doing a depmod worked fine!
    Thanks!

  • Missing /usr/bin/reboot

    i use GNOME and arch is up to date as it can be after doing a "pacman -Syu".
    when i use GNOME's shutdown-dialog to reboot the system, GNOME and X stop as they should, but then the system gives a message, "Command failed /usr/bin/reboot" and a short description that it wasn't found.
    the system then takes a short breath of about 5-10 seconds and reboots as it should.
    well, there is no /usr/bin/reboot on my harddisk, just /sbin/reboot...why?
    had the same thing some days ago on another system. was /usr/bin/reboot removed during one of the last updates and GNOME still tries to use it instead of /sbin/reboot?
    Thanks!
    Cheers!

    I had this problem as well and couldn't work out what I had done wrong - I hadn't been fiddling with any settings, honest.  Anyway, it first occurred last Saturday when I shutdown my PC after these updates:
    [2008-02-02 07:49] synchronizing package lists
    [2008-02-02 07:49] starting full system upgrade
    [2008-02-02 07:50] upgraded bash (3.2.025-4 -> 3.2.033-2)
    [2008-02-02 07:50] warning: /etc/profile installed as /etc/profile.pacnew
    [2008-02-02 07:50] warning: directory permissions differ on var/lock/
    filesystem: 775 package: 755
    [2008-02-02 07:50] upgraded filesystem (2007.11-3 -> 2007.11-6)
    [2008-02-02 07:50] upgraded groff (1.19.2-3 -> 1.19.2-4)
    [2008-02-02 07:50] upgraded man (1.6f-1 -> 1.6f-2)
    [2008-02-02 07:50] upgraded mkinitcpio (0.5.17-1 -> 0.5.17-2)
    [2008-02-02 07:50] upgraded mpg123 (1.1.0-3 -> 1.2.0-1)
    and not only was there an error about the missing file but gdm-binary segfaulted.  Here's the entry from everything.log:
    Feb 2 09:53:50 gconfd (david-9810): Exiting
    Feb 2 09:53:50 darkstar gdm-binary[9706]: WARNING: Command failed /usr/bin/poweroff: Failed to execute child process "/usr/bin/poweroff" (No such file or directory)
    Feb 2 09:53:50 darkstar shutdown[11387]: shutting down for system halt
    Feb 2 09:53:50 darkstar init: Switching to runlevel: 0
    Feb 2 09:53:50 darkstar gdm-binary[9706]: segfault at 0000000000000031 rip 00002aaccdefa090 rsp 00007fffdfb2ce28 error 4
    Thing is, looking back through older log entries, the warning about failing to execute /usr/bin/reboot or /usr/bin /poweroff is always there on reboot/shutdown but I had never before seen it echoed to the screen.  Anyway, I wasn't sure where to report the bug but made my own fix in the meantime by adding the following to the daemon section of /etc/gdm/defaults.conf
    RebootCommand=/sbin/reboot
    HaltCommand=/sbin/poweroff
    The other consequence of those Saturday updates, which hasn't gone away yet, is that the normal shutdown messages - stopping this, stopping that etc. - don't always appear.  It's not consistent but more often than not gnome will drop to a console with a login prompt and my PC will shutdown a few seconds later  If I don't start gnome and just run /sbin/poweroff from the console then the usual messages will appear.  As far as I can tell, however, my PC is shutting down properly despite the lack of messages.
    EDIT: And /sbin is in my path.
    EDIT 1: And the segfaults continue (I thought that they'd gone away):
    Feb 6 23:27:08 gconfd (david-9811): Exiting
    Feb 6 23:27:09 darkstar shutdown[15679]: shutting down for system halt
    Feb 6 23:27:09 darkstar init: Switching to runlevel: 0
    Feb 6 23:27:09 darkstar gdm-binary[9706]: segfault at 0000000000000021 rip 00002b63ab165090 rsp 00007fff028bfe48 error 4
    Last edited by azleifel (2008-02-07 22:35:41)

  • How/where do I get /usr/bin/make for lion?

    Previous OS X releases came with a DVD that included an "SDK" package to support normal unix software development (gcc, make and so on). Having just bought a new macbook pro with lion pre-installed, there's no DVD, no SDK.  Does this exist anywhere?

    Sorry, I should have looked more before posting.  I found XCode via the "App Store" -- glad to know it's still free, sorry to see a bunch of people having trouble installing it.  (Maybe I shouldn't be trying to download 2.9 GB via my home DSL...)

  • Make: /usr/bin/ar: Command not found

    Dear Team,
    Following error are encountered while installing 11gR2 on RHEL 5.5.
    make file log:
    /usr/bin/make -f ins_rdbms.mk rat_on part_on dm_on olap_on sdo_on ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1//bin/sh: /usr/bin/ar: No such file or directory
    /usr/bin/ar cr /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/libknlopt.a /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/kecwr.o
    make: /usr/bin/ar: Command not found
    make: *** [rat_on] Error 127
    - All rpms requirements are met. I have re-install GCC as well.
    Thanks in Adv.
    Yuvraj

    # yum provides /usr/bin/ar
    Loaded plugins: security
    binutils-2.17.50.0.6-14.el5.x86_64 : A GNU collection of binary utilities.
    Repo        : el5_u5_base
    Matched from:
    Filename    : /usr/bin/ar
    # ll /usr/bin/ar
    -rwxr-xr-x 1 root root 52632 Feb 11  2010 /usr/bin/arCould your file system or system installation be damaged?
    Perhaps you can try the following:
    # touch /forcefsck
    reboot

  • 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.

  • Make: /usr/bin/install: Command not found

    I'm working on a PKGBUILD, but I'm running into this:
    make: /usr/bin/install: Command not found
    make: *** [install] Error 127
    ==> ERROR: Build Failed.
    Aborting...
    What would cause this?  Old code?  Missing package?

    It was actually really old code, after a bit of successful this-should-probably-work script editing!  I created a package in the AUR called dasm, which is an assembler for the Atari 2600 among many other systems.
    http://aur.archlinux.org/packages.php?ID=37200

  • /usr/bin/install is missing!

    Well, I don't know how this one happened.  I was trying to "make install" a program I had just finished compiling, and then I get a message saying that /usr/bin/install is missing.  I checked /usr/bin for "install", and it isn't there, even though it was before.  How do I fix this problem?
    Last edited by Falcata (2008-01-25 22:02:46)

    Problem solved.  I made a link to /bin/install under /usr/bin, and it worked fine.
    Now then, another question: why did Nodoka get installed under /usr/local/lib, rather than /usr/lib?
    EDIT: Should have waited a moment before posting, I guess.  How do you install packages from AUR?  Or packages that you downloaded onto your system?
    Last edited by Falcata (2008-01-25 23:41:26)

  • Make: execvp: /usr/bin: Permission denied[SOLVED]

    hey, I'm trying to install an app called jconv.
    I get this error:
    make: execvp: /usr/bin: Permission denied
    here is the make file..(don't have the first clue on making a PKGBUILD)
    #  Copyright (C) 2005-2007 Fons Adriaensen <[email protected]>
    #  This program is free software; you can redistribute it and/or modify
    #  it under the terms of the GNU General Public License as published by
    #  the Free Software Foundation; either version 2 of the License, or
    #  (at your option) any later version.
    #  This program is distributed in the hope that it will be useful,
    #  but WITHOUT ANY WARRANTY; without even the implied warranty of
    #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    #  GNU General Public License for more details.
    #  You should have received a copy of the GNU General Public License
    #  along with this program; if not, write to the Free Software
    #  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    PREFIX = /usr
    SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
    LIBDIR = lib$(SUFFIX)
    DISTDIR = jconv-$(VERSION)
    VERSION = 0.2.0
    LDFLAGS += -L$(PREFIX)/$(LIBDIR)
    CPPFLAGS += -O3 -Wall -MMD -MP -DVERSION=\"$(VERSION)\"
    #CPPFLAGS += -march=i686 -mtune=pentium4 -msse -msse2 -m3dnow -O3 -ffast-math
    # Uncomment if you use a libsndfile version without support for setting/getting the Ambisonic flags.
    CPPFLAGS += -DNOAMBIS=1
    all:    jconv fconv mkwavex
    JCONV_O =    jconv.o config.o jconfig.o jclient.o
    jconv:    LDLIBS += -lzita-convolver -lfftw3f -lsndfile -lclthreads -ljack -lpthread -lrt
    jconv:    $(JCONV_O)
        g++ $(LDFLAGS) -o $@ $(JCONV_O) $(LDLIBS)
    $(JCONV_O):
    -include $(JCONV_O:%.o=%.d)
    FCONV_O =    fconv.o config.o fconfig.o
    fconv:    LDLIBS += -lzita-convolver -lfftw3f -lsndfile -lpthread -lrt
    fconv:    $(FCONV_O)
        g++ $(LDFLAGS) -o $@ $(FCONV_O) $(LDLIBS)
    $(FCONV_O):
    -include $(FCONV_O:%.o=%.d)
    MKWAVEX_O =    mkwavex.o impdata.o
    mkwavex : LDLIBS += -lsndfile -lrt
    mkwavex:    $(MKWAVEX_O)
        g++ $(LDFLAGS) -o $@ $(MKWAVEX_O) $(LDLIBS)
    install:    jconv fconv mkwavex
        /usr/bin/install -m 755 jconv $(PREFIX)/bin
        /usr/bin/install -m 755 fconv $(PREFIX)/bin
        /usr/bin/install -m 755 mkwavex $(PREFIX)/bin
    clean:
        /bin/rm -f *~ *.o *.a *.d *.so jconv fconv
    Last edited by funkmuscle (2008-10-23 21:51:15)

    Thanx Chok. I know that. That's why I'm posting this. This app was make for debian so it's something to do with:
    install:    jconv fconv mkwavex
        /usr/bin/install -m 755 jconv $(PREFIX)/bin
        /usr/bin/install -m 755 fconv $(PREFIX)/bin
        /usr/bin/install -m 755 mkwavex $(PREFIX)/bin
    solved...I removed [/usr/bin/install -m 755] and replaced with [install]
    so it looked like this:
    install $(PREFIX)/bin
    Last edited by funkmuscle (2008-10-23 21:50:26)

  • Missing binary in /usr/bin/

    I am trying to get MySQL running on my computer, but the mysql binary is missing from my /usr/bin/ directory. I've tried installing from the standard repositories and compiling myself from ABS, but it never appears.
    Where can I get this file? Is this part of some other package? The pkgbuild file for MySQL doesn't seem to mention it.

    The binary I'm looking for is apparently owned by another package. How do I find out which one?
    I'd use pacman -Qo /usr/bin/mysql but it doesn't exist...
    Last edited by clubsplit (2008-06-03 19:05:14)

  • $PATH missing '/usr/local/bin'

    $PATH missing '/usr/local/bin' in /etc/login.defs and /etc/profile.
    I only noticed, being somewhat a noob, after compiling the NEW Dillo 0.7.3 and finding that it places its' executable in /usr/local/bin (!).  This, not being in my $PATH by default.
    Please consider adding this line to future ARCH 0.6 or beyond for WORKSTATION users:
    # /etc/profile
    export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/opt/bin"
    Thanx.

    Mt.Tam-Luxer wrote:I only noticed, being somewhat a noob, after compiling the NEW Dillo 0.7.3
    A very wise decision to use this great browser :-) ... and I'm even serious about that.
    Mt.Tam-Luxer wrote:and finding that it places its' executable in /usr/local/bin (!).  This, not being in my $PATH by default.
    For some reason it is in my /etc/profile ... but I don't remember if I put it there or not.
    Firstly, (and as already mentioned more or less) I can see arguments why AL does not include /usr/local/bin by default (mainly because there is nothing there when only installing AL packages).
    But OTOH, this is the beauty of AL : you can (and are even supposed to) configure your system as you like by editing the files in /etc. I guess that's why I don't remember, because the first thing I would do if need be is editing /etc/profile ;-) ...
    Oh, but something (very general !) to consider : if you want to keep your system "Unix-style", don't put every posible PATH in /etc/profile, but put it in ~/.profile (or whatever shell you are using). If you are the only user, it does not really matter. But in a "true multi-user Unix system" you should not have /funky/path/bin in /etc/ ... not that /usr/local is exotic ....this is more of a general note.
    sarah31 wrote:but imho if there is a PKGBUILD for a desired app (such as dillo)
    yes, the PKGBUILD for dillo works fine, however, last week they released the latest version 0.7.3 which Mt.Tam-Luxer tried to install ( ... hint ... hint ... package maintainers ... :-) ... ). It was not quite clear from your post if yo wanted him to modify the PKGBUILD script or to just use it.
    Oh, and besides changing pkgver, the source should now point to http://www.dillo.org/download/dillo-0.7.3.tar.bz2

  • /usr/bin/perlbin/site missing

    I'm trying to figure out what package /usr/bin/perlbin/site provides. I'm trying to run something which needs something out of that directory, but I don't have it.

    Well, I don't find it either (I know you could query phrik - on IRC - for file ownership, and it refers to pkgfile now). But look what querying phrik about pkgfile says:
    23:23:29 Borromini !pkgfile
    23:23:31 phrik A tool to find out what package owns a file. Now available in community/pkgtools! http://aur.archlinux.org/packages.php?ID=17941
    Don't ask me why they can't just make it say 'pkgfile is provided by the pkgtools package'...

  • 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)

  • SeLinux Checkpolicy install error ( /usr/bin/ld: cannot find -lfl)

    I am trying to setup selinux per the arch wiki, but I ran into an error when trying to install the checkpolicy package from the AUR. I keep getting the following error:
    ==> Starting build()...
      cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I. -I/usr/include -o checkpolicy.o -c checkpolicy.c
      bison -y -d policy_parse.y
      cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I. -I/usr/include -o y.tab.o -c y.tab.c
      lex policy_scan.l
      cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I. -I/usr/include -o lex.yy.o -c lex.yy.c
      cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I. -I/usr/include -o queue.o -c queue.c
      cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I. -I/usr/include -o module_compiler.o -c module_compiler.c
      cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I. -I/usr/include -o parse_util.o -c parse_util.c
      cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I. -I/usr/include -o policy_define.o -c policy_define.c
      cc -Wl,-O1,--sort-common,--as-needed,-z,relro  checkpolicy.o y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o  /usr/lib/libsepol.a -lfl -o checkpolicy
      /usr/bin/ld: cannot find -lfl
      collect2: error: ld returned 1 exit status
      <builtin>: recipe for target 'checkpolicy' failed
      make: *** [checkpolicy] Error 1
    any ideas? I have been googling for a few hours trying to find out about the -lfl and to see if i am missing it , but cannot figure this out. I downloaded the tar for checkpolicy and have the same issue.
    Should I be altering the makefile in anyway so that /usr/bin/ld can find -lfl ?
    Last edited by johnnyboy (2014-11-12 06:43:49)

    @Allan: The selinux-flex package is needed as part of the installation process.
    Something tells me that this AUR package needs to be updated.
    But yes, a solution appears to be to remove selinux-flex and install flex and then compile checkpolicy.
    Last edited by clfarron4 (2014-11-12 12:36:42)

  • 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..?

Maybe you are looking for

  • Why does Remote App no longer work since upgrading to IOS 6?

    Since updating my Touch to IOS 6, I can no longer use the Remote App to connect to my itunes library on my iMac.  I have tried both homesharing and "add an itunes library" and both have failed.  I have been through all the posted support articles wit

  • How can I recover the URL line; how can I recover the ability to backtrack?

    I'm not super tech savvy. I didn't know what had happened when the system shifted from having a url line displayed with "back" and "forward" arrows. Now, I don't know how to: 1)Find a url address so I can copy a url in order to send someone a link to

  • InDesign CS3 crashes on certain commands

    I have Indesign Cs3. It was doing strange things so refreshed my preferences which solved the issue. Since then, I cannot create a pdf from a new document, it crashes. But I can from a document created prior to the preferences refresh. It also crashe

  • Set Print Area

    I am using Numbers '09  Vers. 2.0.5 with OSX 10.6.6.  Any new ideas on how to Set Print Area, like in AppleWorks? Copy and paste or a macro approach are not usable. Thanks.

  • Stumped on Regular Expression in ReReplace

    Hi Folks, I'm new to regular expressions and I'm stumped on two of them. I have a book on order from Amazon on this, but can't wait 3 days for it to arrive. Any help would be greatly appreciated! 1. I need to remove all HTML tags from a string EXCEPT