/usr/bin/ld.real: cannot find -lclntsh [PHP5.3] instantclient 11.2.0.2.0

Hello,
I am trying to php oci8 with Oracle Instant client for a system with following configuraiton,
but I am periodically getting the error "incompatible libclntsh.so"
Please help.
SYSTEM
PHP 5.3.6-8ubuntu0ppa2~karmic1 (cli) (built: Apr 19 2011 07:44:50)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
Ubuntu 9.10 Karmic
Oracle Instant client instantclient.11.2.0.2.0

How did you build OCI8?
How is PHP configured/installed?
Do you have multiple versions of Oracle libraries installed on the machine?
If you are using Ubuntu's Apache package, is LD_LIBRARY_PATH set in /etc/apache2/envvars?

Similar Messages

  • UfdbGuard pkgbuild fails - cannot find system rc init.d

    Here's the PKGBUILD:
    pkgname=ufdbguard
    pkgver=1.18
    arch=('i686')
    pkgrel=1
    pkgdesc="The best URL database and internet filter"
    url="http://www.urlfilterdb.com/"
    license=('GPL')
    depends=(openssl bzip2)
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    install=()
    source=(http://www.urlfilterdb.com/download/free/ufdbGuard-latest.tar.gz)
    md5sums=('1e097e1aa6b21134cef2bc82f86a8e2a')
    build() {
    cd $startdir/src/
    mv ufdbGuard-$pkgver ufdbguard-$pkgver
    cd ufdbguard-$pkgver
    ./configure --prefix=/usr --with-ufdb-user=jason \
    --with-ufdb-config=${pkgdir}/etc/squid \
    --with-ufdb-logdir=${pkgdir}/var/log/ufdbguard \
    --with-ufdb-dbhome=${pkgdir}/var/blacklists \
    --with-ufdb-images_dir=${pkgdir}/usr/share/ufdbguard/images
    make || return 1
    make prefix=$startdir/pkg/usr install || return 1
    So the problem is this message when I try to build it:
    make[1]: Entering directory `/home/jason/ufdbguard/src/ufdbguard-1.18/src'
    ./install_etcfiles.sh /home/jason/ufdbguard/pkg/etc/squid /home/jason/ufdbguard/pkg/usr/bin
    pkgname=ufdbguard
    =================================================================
    Cannot find the system rc init.d directory *******
    Please run install_etcfiles.sh manually and specify the directory ********
    =================================================================
    make[1]: *** [install.etc] Error 1
    make[1]: Leaving directory `/home/jason/ufdbguard/src/ufdbguard-1.18/src'
    make: *** [install.etc] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    I've looked at the install_etcfiles.sh script and the problem appears to be there. I probably need to figure out how to patch that script, but I don't know where to begin.
    Last edited by derelict (2009-07-19 05:21:13)

    1. It's very frustrating: --with-ufdb-user=jason
    Can you read it out from system variables/command ?
    2.
    Please run install_etcfiles.sh manually and specify the directory
    Please try it, if the help message tells you tihs Of course archlinux hasn't got /etc/init.d/, but /etc/rc.d/, BSD like init scripts.
    3. A cleaner PKGBUILD for it:
    # Maintainer: You <your email>
    pkgname=ufdbguard
    pkgver=1.18
    pkgrel=1
    pkgdesc="The best URL database and internet filter"
    url="http://www.urlfilterdb.com/"
    license=('GPL')
    depends=('openssl' 'bzip2')
    arch=('i686')
    source=(http://www.urlfilterdb.com/download/free/ufdbGuard-latest.tar.gz)
    md5sums=('1e097e1aa6b21134cef2bc82f86a8e2a')
    build() {
    cd $srcdir
    mv ufdbGuard-$pkgver ufdbguard-$pkgver
    cd ufdbguard-$pkgver
    ./configure --prefix=/usr --with-ufdb-user=jason \
    --with-ufdb-config=${pkgdir}/etc/squid \
    --with-ufdb-logdir=${pkgdir}/var/log/ufdbguard \
    --with-ufdb-dbhome=${pkgdir}/var/blacklists \
    --with-ufdb-images_dir=${pkgdir}/usr/share/ufdbguard/images
    make || return 1
    make prefix=$pkgdir/usr install || return 1

  • [SOLVED] Qtcreator won't start up: Timeout running '/usr/bin/g++'

    I have no idea where to even start from or what to search for.
    When running from terminal, qtcreator throws these lines (every few minutes) and doesn't start up:
    $ qtcreator
    QByteArray ProjectExplorer::runGcc(const Utils::FileName&, const QStringList&, const QStringList&): Timeout running '/usr/bin/g++'.
    QProcess: Destroyed while process ("/usr/bin/g++") is still running.
    QByteArray ProjectExplorer::runGcc(const Utils::FileName&, const QStringList&, const QStringList&): Timeout running '/usr/bin/g++'.
    QProcess: Destroyed while process ("/usr/bin/g++") is still running.
    QByteArray ProjectExplorer::runGcc(const Utils::FileName&, const QStringList&, const QStringList&): Timeout running '/usr/bin/g++'.
    QProcess: Destroyed while process ("/usr/bin/g++") is still running.
    There are no g++ processes before running qtcreator. After running it, I see new defunct g++ processes popping up (along with output above):
    $ ps -ef|grep g++
    void 1145 1126 0 09:23 pts/1 00:00:00 [g++] <defunct>
    void 1234 1126 0 09:24 pts/1 00:00:00 [g++] <defunct>
    void 1287 1126 0 09:25 pts/1 00:00:00 [g++] <defunct>
    void 1389 1126 0 09:26 pts/1 00:00:00 [g++] <defunct>
    void 1394 837 0 09:26 pts/0 00:00:00 grep --color=auto g++
    This started a few days ago, probably after a recent update, I have a fully updated system. This doesn't happen on my other machine, but I can't find any difference. I even deleted QtCreator.conf and QtCreator.ini in ~/config/QtProject, but result is same. It didn't create new .conf and .ini files by the way.
    Any help/advice on where to start debugging this is appreciated.
    Last edited by axper (2013-05-04 11:28:15)

    I have the same problem.
    Well, at least, i also get this error:
    % qtcreator
    QProcess: Destroyed while process is still running.
    QProcess: Destroyed while process is still running.
    Cannot update Qt version information: /usr/bin/qmake-qt4 cannot be run.
    Cannot update Qt version information: /usr/bin/qmake cannot be run.
    QByteArray ProjectExplorer::runGcc(const Utils::FileName&, const QStringList&, const QStringList&): Timeout running '/usr/bin/g++'.
    QProcess: Destroyed while process is still running.
    [Edit]
    Hang on, update fixed it for me..
    Last edited by K-4U (2013-05-01 15:32:40)

  • /usr/bin/mail buggy or smtp server picky?

    I want to use mail to send email quickly from my terminal and decided to use msmtp as my smtp client to keep things light and straightforward.
    However, when I use /usr/bin/mail to send an email to [email protected], my smtp server (mail.messagingengine.com if you are interested) queues the email that was delivered by my /usr/bin/msmtp client fine (I get an OK for queue message), but after a couple of hours I get an NDR (Non Delivery Report) saying that my message couldn't be sent and will be retried until ultimately I get an NDR that my message couldn't be delivered.
    After some debugging, I realized that the reason the smtp server was having trouble is that my message didn't contain the From: header. Since the from address is already specified in the envelope upon SMTP-initiation, it seemed to me illogical that the smtp server couldn't just use that email.
    So I opened a ticket with those guys over at fastmail.fm, and they told me that the problem was not with the SMTP server, but with the mail client, which creates "invalid" messages (i.e. not sending the From: header). Since I trust my provider to know his stuff, here's my question:
    How can I tell /usr/bin/mail to insert a specific From: header?
    Thanks!

    Hello fukawi2,
    my ~/.mailrc contains one line:
    set sendmail=/usr/bin/msmtp
    Here's what happens when write an email using /usr/bin/mail from the mailx 8.1.1-7 package:
    [x@eee ~]$ mail [email protected]
    Subject: hello
    Another test
    EOT
    Here's how /usr/bin/mail passes my email to msmtp:
    /usr/bin/msmtp -i [email protected]
    To: [email protected]
    Subject: hello
    Another test
    Here's what my msmtp config looks like:
    #~/.msmtp
    account fastmail
    from "[email protected]"
    host mail.messagingengine.com
    auth on
    tls on
    tls_certcheck off
    user [email protected]
    password "*"
    logfile ~/msmtp.log
    Here's what the msmtp log shows when I send the email:
    nov 18 00:28:41 host=mail.messagingengine.com tls=on auth=on user=[email protected] from=[email protected] recipients=[email protected] mailsize=41 smtpstatus=250 smtpmsg='250 2.0.0 Ok: queued as C3A00A7B7' exitcode=EX_OK
    I will send the NDR from the SMTP server when it arrives (takes a couple of hours) if you'd like to inspect it.
    Maybe ssmtp has a way to insert a From: header automatically, I haven't taken a look at it. Maybe even msmtp has a way to do that, even though I haven't found that option in the man pages.
    What I am trying to say is, if the /usr/bin/mail program cannot be configured to create a valid rfc-compliant email, then using an intermediary mail transport agent like ssmtp would only be a workaround but not a permanent fix. Hence my suggestion to replace mailx with a compliant, working package in the arch core install.
    Any ideas on how to proceed from here?
    Last edited by awayand (2009-11-17 23:37:45)

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

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

Maybe you are looking for

  • Utilization during excise creation by J1IIN

    Dear all, Want your inputs on the following: I have created a export billing doc which has no Excise Taxes and the pricing is in foreign currency USD. When I create the Excise invoice with reference to it, I click on Utilization (F6) and then on Calc

  • How do i write photos onto a cd in iPhoto

    please can someone tell me how to write photos onto a cd when using iPhoto

  • Not signing in

    my skype wont sign in at all, the app wont even open anymore. there is a grey skype box in the top bar but its all greyed out. nothing is loading.

  • Restart deployment (.ear) does not load optional package

    Hello everybody, In our 10.3.5 WLS domains, we are using optional packages for sharing libraries between applications see [http://docs.oracle.com/cd/E24329_01/web.1211/e24368/libraries.htm|Creating Shared Java EE Libraries and Optional Packages] The

  • Can current year net profit (In PL) reclass to RE (in BS)?

    Hi all, Qustion pertaining reclassification in BCS. Can current year net profit (in PL) reclass to RE (in BS)? Pls advise. Thanks. Regards, Renee