"/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)

Similar Messages

  • "/usr/bin/ld: cannot find -luu" - can't compile kl

    I'm trying to make a package for klibido ( http://klibido.sourceforge.net/ ).
    I keep having this error when I try to compile it :
    /usr/bin/ld: cannot find -luu
    Does anyone know this problem ?
    Thanks !

    I made a package for uudeview and I installed it.
    It's in /usr.
    Here is the full error message :
    /bin/sh ../libtool --silent --tag=CXX --mode=link 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 -L/lib -luu -o klibido -R /opt/kde/lib -R /opt/qt/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/opt/qt/lib -L/opt/kde/lib main.o klibido.o grouplist.o serverslist.o newsgroup.o addform.o headerlist.o binheader.o header.o hlistviewitem.o nntpthreadsocket.o queueparts.o qmgr.o addserver.o prefgeneral.o prefdialog.o globals.o availablegroups.o updatedb.o fileviewer.o progress.o prefdecode.o downloadselect.o catman.o prefview.o prefheader.o decoder.o uudecoder.o yydecoder.o updopt.o nzbform.o groupWidget.o serversWidget.o NewsGroupForm.o qmgrform.o serverdlg.o prefgenerallayout.o progressdlg.o prefdecodelauyout.o downloadselectdlg.o catmandlg.o prefviewlayout.o prefheaderlayout.o updoptdlg.o addformdlg.o nzbformdlg.o availablegroups.moc.o queueparts.moc.o -ldb_cxx -lkmdi -lkdeui -ldb
    /usr/bin/ld: cannot find -luu
    collect2: ld returned 1 exit status
    make[2]: *** [klibido] Erreur 1
    make[2]: Leaving directory `/var/abs/local/klibido/src/klibido-0.2.2.2/src'
    make[1]: *** [all-recursive] Erreur 1
    make[1]: Leaving directory `/var/abs/local/klibido/src/klibido-0.2.2.2'
    make: *** [all] Erreur 2
    ==> ERROR: Build Failed. Aborting...

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

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

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

  • 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

  • Error : /usr/bin/ld: cannot find -lmvec

    Hi All,
    I am trying to build an application where compiler flag "-xvector=lib" is used.
    An i get error "/usr/bin/ld: cannot find -lmvec"
    If i remove this flag then this error disappears.
    Can anybody explain the changes i should make to use this flag "-xvector=lib".
    Can anybody identify the solution to this problem because i must use this falg.
    Thanks and Regards
    Ganesh

    With -xvector=lib, compiler may generate calls to vectorized routines which reside in libmvec.so (on solaris),
    hence -lmvec passed to linker. I think that libmvec.so wasn't ported to Linux, so -xvector=lib does not work
    (not supported) on Linux

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

  • [solved] build failing: /usr/bin/ld: cannot find -lgd

    I'm trying to satisfy crossover dependencies and recommendations. Found lib32-libgphoto2 on AUR with a few dependencies of its own, all of which I installed succesfully.
    When doing a makepkg for lib32-libgphoto2 I get the following error:
    libtool: link: gcc -m32 -shared -fPIC -DPIC ax203/.libs/ax203_la-library.o ax203/.libs/ax203_la-ax203.o ax203/.libs/ax203_la-ax203_decode_yuv.o ax203/.libs/ax203_la-ax203_decode_yuv_delta.o ax203/.libs/ax203_la-ax203_compress_jpeg.o ax203/.libs/ax203_la-jpeg_memsrcdest.o ax203/.libs/ax203_la-tinyjpeg.o ax203/.libs/ax203_la-jidctflt.o -Wl,-rpath -Wl,/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2/.libs -Wl,-rpath -Wl,/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2_port/libgphoto2_port/.libs -L/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2_port/libgphoto2_port/.libs ../libgphoto2/.libs/libgphoto2.so -L/usr/lib32 /home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2_port/libgphoto2_port/.libs/libgphoto2_port.so -lexif ../libgphoto2_port/libgphoto2_port/.libs/libgphoto2_port.so -lltdl -lpthread -lgd -lz -lm -lpng16 -lfreetype -lfontconfig -ljpeg -m32 -march=x86-64 -mtune=generic -O2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-soname -Wl,ax203.so -Wl,-version-script -Wl,.libs/ax203.ver -o .libs/ax203.so
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../libgd.so when searching for -lgd
    /usr/bin/ld: skipping incompatible /usr/lib/libgd.so when searching for -lgd
    /usr/bin/ld: cannot find -lgd
    collect2: error: ld returned 1 exit status
    Makefile:1659: recipe for target 'ax203.la' failed
    make[3]: *** [ax203.la] Error 1
    make[3]: Leaving directory '/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/camlibs'
    Makefile:3347: recipe for target 'all-recursive' failed
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory '/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/camlibs'
    Makefile:622: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/someuser/Downloads/aur/lib32-libgphoto2/src/build'
    Makefile:444: recipe for target 'all' failed
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    In that blob of text it says 'skipping incompatible' so it found something but I don't know to fix that or find out what it needs. A search on the internet I found that the message (in title) means I'm missing 32-bit library for gd, so I pulled that from AUR and installed it, but its still giving me this message.
    Any ideas what I need to do to get this to build?
    Thanks in advance.
    Last edited by mouseman (2014-05-05 05:24:27)

    The linker tries to find libgd. so. If you build lib32-libgphoto2, I guess from the name that you are building a 32 bit package on a 64 bits installation. You should have the 32 bit version of libgd. so and you only have the 64 bit version (hence skipping incompatible /usr/lib/libgd.so). Note that I have not found this version in the multilib repository (nor on AUR), I think you will have to build it yourself.

  • Relinking error /usr/bin/ld: cannot find -ljava

    Hello everyone, has anyone seen this error while relinking? I am hitting this error while performing a clone.
    /apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib
    gcc -m32 -o /apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/libnmeoci.so `cat /apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/libnmeoci.def | perl /apps/itccrmR12/apps/tech_st/10.1.2/bin/processDef.pl | grep -E "[a-zA-Z]+[;]" | awk -F ";" '{printf(" -u "$1);}'` -shared -L/apps/itccrmR12/apps/tech_st/10.1.2/lib/ -L/apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/ -L/apps/itccrmR12/apps/tech_st/10.1.2/lib/stubs/ /apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/libnmeoci.a -L/apps/itccrmR12/apps/tech_st/10.1.2/lib -L/apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/ -lnmemso -lcore10 -Wl,-rpath,/apps/itccrmR12/apps/tech_st/10.1.2/lib/:/apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/:/nfs/bld/d29/VRIV204/apps/tech_st/10.1.2/jdk/jre/lib/i386/client:/nfs/bld/d29/VRIV204/apps/tech_st/10.1.2/jdk/jre/lib/i386 -L/nfs/bld/d29/VRIV204/apps/tech_st/10.1.2/jdk/jre/lib/i386/client -L/nfs/bld/d29/VRIV204/apps/tech_st/10.1.2/jdk/jre/lib/i386 -z lazyload -ljava -ljvm -lverify -z nolazyload -Wl,-rpath,/apps/itccrmR12/apps/tech_st/10.1.2/lib/:/apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/:/nfs/bld/d29/VRIV204/apps/tech_st/10.1.2/jdk/jre/lib/i386/client:/nfs/bld/d29/VRIV204/apps/tech_st/10.1.2/jdk/jre/lib/i386 -Wl,--allow-shlib-undefined `cat /apps/itccrmR12/apps/tech_st/10.1.2/lib/sysliblist` -ldl -lm
    */usr/bin/ld: cannot find -ljava*
    collect2: ld returned 1 exit status
    make: *** [apps/itccrmR12/apps/tech_st/10.1.2/sysman/lib/libnmeoci.so] Error 1
    Failed linking target libnmeoci on Fri Jan 7 11:04:51 EST 2011...

    Please see these docs.
    '/usr/bin/ld: cannot find -ljava' occurs while applying one off patch [ID 418557.1]
    Getting Error "Java.Lang.Exception: Exception In Sending Request :: Null" After Cloning Database Using Rapid Clone [ID 849772.1]
    Rapid Clone & Em Dbconsole [ID 743833.1]
    Thanks,
    Hussein

  • /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 -lgomp

    Trying to compile wine-multimedia-git from AUR with a few custom flags.
    ld insists it cannot find -lgomp, although it's never complained about that while compiling any other packages.
    libgomp is installed and available at /usr/lib/libgomp.so, /usr/lib32/libgomp.so, and /usr/lib64/libgomp.so
    How can I convince ld that it is wrong?

    quequotion wrote:First there were the memset errors, so I asked google what they mean; after comparing various results it seemed to tell me this has something to do with openmp, and that the errors go away when linking with -lgomp.
    And now that I consult google again, I find nothing at all like the search results I found before. In fact, where hours and hours of searching previously yielded nothing similar to my problem, I now find dozens of reports of this issue (with llvm and gcc 4.8, neither of which I am using) and a possible workaround (-fno-builtins, but wine should specify that for itself).
    WTF?
    ::EDIT::
    hrm... not working... back to square one, without -lgomp:
    preloader.o: In function `map_so_lib':
    preloader.c:(.text+0xf64): undefined reference to `memset'
    preloader.c:(.text+0x1239): undefined reference to `memset'
    preloader.o: In function `wld_start':
    preloader.c:(.text+0x26df): undefined reference to `memset'
    collect2: error: ld returned 1 exit status
    Makefile:174: recipe for target 'wine64-preloader' failed
    make[1]: *** [wine64-preloader] Error 1
    Makefile:17605: recipe for target 'loader' failed
    make: *** [loader] Error 2
    make: *** Waiting for unfinished jobs....
    ../../../wine-multimedia/tools/wrc/parser.y: warning: 5 shift/reduce conflicts [-Wconflicts-sr]
    ../../../wine-multimedia/tools/wrc/parser.y: warning: 5 shift/reduce conflicts [-Wconflicts-sr]
    change.o: In function `req_read_directory_changes._loopfn.0':
    change.c:(.text+0x2c1a): undefined reference to `omp_get_num_threads'
    change.c:(.text+0x2c21): undefined reference to `omp_get_thread_num'
    change.o: In function `req_read_directory_changes._loopfn.1':
    change.c:(.text+0x2e2a): undefined reference to `omp_get_num_threads'
    change.c:(.text+0x2e31): undefined reference to `omp_get_thread_num'
    console.o: In function `req_read_console_output':
    console.c:(.text+0x43e0): undefined reference to `GOMP_parallel'
    console.c:(.text+0x4483): undefined reference to `GOMP_parallel'
    console.c:(.text+0x4520): undefined reference to `GOMP_parallel'
    console.o: In function `req_fill_console_output':
    console.c:(.text+0x57b8): undefined reference to `GOMP_parallel'
    console.c:(.text+0x588e): undefined reference to `GOMP_parallel'
    console.o:console.c:(.text+0x590a): more undefined references to `GOMP_parallel' follow
    console.o: In function `req_read_console_output._loopfn.0':
    console.c:(.text+0x69ec): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x69f8): undefined reference to `omp_get_thread_num'
    console.o: In function `req_read_console_output._loopfn.1':
    console.c:(.text+0x6ebc): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x6ec8): undefined reference to `omp_get_thread_num'
    console.o: In function `req_read_console_output._loopfn.2':
    console.c:(.text+0x73be): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x73ca): undefined reference to `omp_get_thread_num'
    console.o: In function `req_fill_console_output._loopfn.3':
    console.c:(.text+0x753e): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x754a): undefined reference to `omp_get_thread_num'
    console.o: In function `req_fill_console_output._loopfn.4':
    console.c:(.text+0x767e): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x768b): undefined reference to `omp_get_thread_num'
    console.o: In function `req_fill_console_output._loopfn.5':
    console.c:(.text+0x77be): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x77cb): undefined reference to `omp_get_thread_num'
    console.o: In function `req_fill_console_output._loopfn.6':
    console.c:(.text+0x78fe): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x790b): undefined reference to `omp_get_thread_num'
    console.o: In function `req_fill_console_output._loopfn.7':
    console.c:(.text+0x7a3c): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x7a49): undefined reference to `omp_get_thread_num'
    hook.o: In function `req_set_hook._loopfn.0':
    hook.c:(.text+0x1dd2): undefined reference to `omp_get_num_threads'
    hook.c:(.text+0x1dd9): undefined reference to `omp_get_thread_num'
    thread.o: In function `create_thread._loopfn.0':
    thread.c:(.text+0x569a): undefined reference to `omp_get_num_threads'
    thread.c:(.text+0x56a1): undefined reference to `omp_get_thread_num'
    collect2: error: ld returned 1 exit status
    Makefile:203: recipe for target 'wineserver' failed
    make[1]: *** [wineserver] Error 1
    make[1]: *** Waiting for unfinished jobs....
    change.o: In function `req_read_directory_changes._loopfn.0':
    change.c:(.text+0x2c1a): undefined reference to `omp_get_num_threads'
    change.c:(.text+0x2c21): undefined reference to `omp_get_thread_num'
    change.o: In function `req_read_directory_changes._loopfn.1':
    change.c:(.text+0x2e2a): undefined reference to `omp_get_num_threads'
    change.c:(.text+0x2e31): undefined reference to `omp_get_thread_num'
    console.o: In function `req_read_console_output':
    console.c:(.text+0x43e0): undefined reference to `GOMP_parallel'
    console.c:(.text+0x4483): undefined reference to `GOMP_parallel'
    console.c:(.text+0x4520): undefined reference to `GOMP_parallel'
    console.o: In function `req_fill_console_output':
    console.c:(.text+0x57b8): undefined reference to `GOMP_parallel'
    console.c:(.text+0x588e): undefined reference to `GOMP_parallel'
    console.o:console.c:(.text+0x590a): more undefined references to `GOMP_parallel' follow
    console.o: In function `req_read_console_output._loopfn.0':
    console.c:(.text+0x69ec): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x69f8): undefined reference to `omp_get_thread_num'
    console.o: In function `req_read_console_output._loopfn.1':
    console.c:(.text+0x6ebc): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x6ec8): undefined reference to `omp_get_thread_num'
    console.o: In function `req_read_console_output._loopfn.2':
    console.c:(.text+0x73be): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x73ca): undefined reference to `omp_get_thread_num'
    console.o: In function `req_fill_console_output._loopfn.3':
    console.c:(.text+0x753e): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x754a): undefined reference to `omp_get_thread_num'
    console.o: In function `req_fill_console_output._loopfn.4':
    console.c:(.text+0x767e): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x768b): undefined reference to `omp_get_thread_num'
    console.o: In function `req_fill_console_output._loopfn.5':
    console.c:(.text+0x77be): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x77cb): undefined reference to `omp_get_thread_num'
    console.o: In function `req_fill_console_output._loopfn.6':
    console.c:(.text+0x78fe): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x790b): undefined reference to `omp_get_thread_num'
    console.o: In function `req_fill_console_output._loopfn.7':
    console.c:(.text+0x7a3c): undefined reference to `omp_get_num_threads'
    console.c:(.text+0x7a49): undefined reference to `omp_get_thread_num'
    hook.o: In function `req_set_hook._loopfn.0':
    hook.c:(.text+0x1dd2): undefined reference to `omp_get_num_threads'
    hook.c:(.text+0x1dd9): undefined reference to `omp_get_thread_num'
    thread.o: In function `create_thread._loopfn.0':
    thread.c:(.text+0x569a): undefined reference to `omp_get_num_threads'
    thread.c:(.text+0x56a1): undefined reference to `omp_get_thread_num'
    collect2: error: ld returned 1 exit status
    ::UPDATE::
    Wine does compile now, but I never found a solution to this problem. My theories at the moment are either that an undeclared lib32- dependency is now satisfied (a side benefit of mmug-qq), wine itself was updated to fix the problem (haven't checked the rather extensive git commit log), or some configuration file somewhere has been updated into a working state...
    Last edited by quequotion (2014-09-07 14:02:32)

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

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

  • Installation error:  Cannot find a J2SE SDK installed at path C:\Program Fi

    I am installing latest version of SQL Developer, Release 1.2. I have Sun Java 2 Standard Edition Version 1.5.0 (build 1.5.0_10-b03). When I browse and select the java.exe found it comes up with error: Cannot find a J2SE SDK installed at patch
    C:\Program Files\Java\jre1.5.0_10
    I am installing the version I downloaded for Windows systems with JDK1.5.
    I have tried on two different machines.
    Any ideas?

    This is going to seem loooong, but comprehensive.
    I'd initially always suggest using the bundled
    package, since that's supposed to be a tested and
    proven combination.You know what, I'm gonna be mighty surprised if you're implying that Oracle hasn't 'tested and proven' the releases at http://www.oracle.com./technology/software/products/sql/index.html other than the first 77 MB download labeled Oracle SQL Developer for Windows... :)
    After having problems with a graphics card for
    example, installing the latest JDK might be
    indicated.Huh?!? Not a clue what you're talkin' 'bout! :S
    It's also easy for users who don't know which Java
    version to download, or even where to find it! You
    guys have proven that: although it's stated you need
    .First of all, it says right there on the download page (http://www.oracle.com./technology/software/products/sql/index.html) that:
    "JDK 1.5 (JDK 5.0) is required. This is the minimum JDK version required"
    And we've "proven that [..] although it's stated you need the JDK, [we]'ve tried running with the JRE" and have NOT been able to run the application. It just presents the user a dialog box to locate the 'SDK' manually and exits gracefully if you try to dismiss it. So, conclusively proven, the JDK (or as SQL Developer puts it, Java SDK) is required- QED.
    And given users might have several versions running
    on the same machine (I have half a dozen), sqldev
    could easily pick up a wrong version.And every JRE installation (atleast all of Sun's) make sure they update the default (via PATH and other required system variables) JRE point to the latest one installed. So if you have anything 1.5+ you're good to go; if not, you've got an incompatile JRE. Doesn't sound that hard to me!
    As for being bulky, even without the bundled JDK, it
    still is.Ya missed the point. Developers are making Java applications bulkier by including the JRE/JDK with their distributions. A SQL Developer release sans JDK is about 46 MB; with JDK that climbs to 77 MB (sizes quoted from download page linked above).
    Imagine what happens when you have, besides SQL Developer (JDK 1.5 included), some-cool-java-app that also includes the JRE/JDK it was built on; and then another-java-app that also includes a JRE/JDK... I bet JDeveloper also comes with a JDK bundled in. So, now you have FOUR copies of JRE/JDK (aside from the "have half a dozen" that probably installed themselves via Java Update Checker)!
    Here's the big picture, the savings in disk space would only be the beginning of your benefits. Here's a few others:
    - Class Data Sharing (http://java.sun.com/javase/6/docs/technotes/guides/vm/class-data-sharing.html) introduced in Java SE 5.0 provides for storing definitions of commonly used classes in a representation closer to machine code, even closer than bytecode, this reducing load and startup time. Plus all VM's launced using that particular distribution get to share the cache- Performace+ !!
    Running each app offa' it's own VM just causes multiple caches to be loaded. You just multiplied your losses! :(
    - Sun is currently working on a way to have applications simply inject into a running JVM. That way, there is no load and startup time for the JVM, just the time to load you app classes. Using different distros would completely defeat this!
    (The reason why this feature isn't out yet is because they're still trying to make it possible to specify hitherto VM configurations like security and logging as application configurations. Then there's also the issue of setting up class loading boundaries between applications.
    You say you don't have to bring over the VB runtime
    for each app? I remember in the 90's doing it all the
    time. Of course, being MS, now that's not necessary
    anymore, since it's "magical" Windows. I don't have
    any machine from Sun, but for sure they've got Java
    bundled with it, right?I don't believe you had to do that since VB 5; and that's because MS realized that they messed up on this very point upto then! Sun worked the simple solution to that into their deployment strategy- install only ONE runtime and run all apps off that. As for you're half-a-dozen, I think you can safely uninstall the five older versions; because, even today, people are running apps developed using JDK1.1 on Java SE 6.0!
    Again, I find the most logical difference between JRE
    and JDK being the debugger. As you say it yourself:
    JRE for end-users, who don't need to do any
    debugging.
    Now, sqldev is not just a table browser, but also for
    debugging PL/SQL. 1 + 1 = 2.I think it's a little naive to differentiate between the JRE and JDK on just the debugger! Aside from the obvious inclusion of a compiler, the JDK has several other tools for monitoring/managing the heap, threads and logging on the fly. There's also the Doclet API and Sun's javadoc implementation, dev interfaces for instrumenting the VM, native interfaces, ...
    And I reiterate, we're talkin' PL/SQL developers here. Why would I want to give a PL/SQL developer a Java Development Kit?!? ;|
    Nevertheless, as said in the other thread, if the
    team discloses how to circumvent the SDK check at
    startup, you can go ahead and use the JRE. In any
    case, you'd have to agree that won't work as
    out-of-the-box solution...You're right, it won't work like a standard Windows OOTB app. But, it WILL work as a Java OOTB that only mandates that there be a JRE available; just like the scores of Java apps out there- from tiny little Pong clones to large IDE's like NetBeans.
    BTW, don't even think about quoting Websphere/Rational/Eclipse as counter-arguments. They are the biggest offenders as far as this issue goes. And jikes is an abomination, a curse Sun must carry as a result to opening the VM Spec. But, I digress...

Maybe you are looking for

  • Headphone output not working after Android 5 update (Yoga Tablet 2 10")

    Hi! First of all, thanks for the Lollipop update, it is working great!There is only one problem I ran into: when I connect a headphone to the audio jack I can hear no sound/music.Before update to Lollipop there was no such problem and headphones work

  • I downloaded Lion and everything works, save Photobooth

    So I recently bought a new mac this spring and transfered everything from my old mac book pro onto this new one using an external hd and time machine. Now I recently installed lion and hoped this issue would go away but it has not. I open up photoboo

  • Windows Perview Pane Error

    Hi, I have Windows 2008 R2 Terminal server (64Bit) with Reader X. (V10.0.0). I'm having a problem with Windows Preview Pane (in outlook preview pane it's work perfect). I'm getting error when I'm stand on PDF file. to solved it i need to open acrobat

  • Problem using asterisk symbol (*) in Translation Rule

    Hello Everybody  Please any suggestion to make a translation from *100.. to 011056000 I have tried using num-exp and a translation rule but symbol asterisk is not supported as a prefix. Thanks in advance

  • Need help on converting milliseconds to string.

    Hi, I am really confused by GMT. I need to convert milliseconds to string. A millisecond represents the date of 2/14/02 22:37:27 GMT. I formatted the string so that output is in the right format. But I kept getting a time string of "02/14/02 16:37:27