LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   Another compilation error (plasma-runtime). -rpath -rpath-link (https://www.linuxquestions.org/questions/gentoo-87/another-compilation-error-plasma-runtime-rpath-rpath-link-4175423206/)

davepi 08-21-2012 06:37 AM

Another compilation error (plasma-runtime). -rpath -rpath-link
 
Problem's with plasma-runtime-4.8.3 compilation. At very end of compilation (99%) there comes an error sayin':

Code:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libqca.so.2, needed by /usr/lib64/libplasma.so.3.0.0, not found (try using -rpath or -rpath-link)
/usr/lib64/libplasma.so.3.0.0: undefined reference to `QCA::PrivateKey::signature()'
/usr/lib64/libplasma.so.3.0.0: undefined reference to `QCA::KeyGenerator::createRSA(int, int, QString const&)'
/usr/lib64/libplasma.so.3.0.0: undefined reference to `QCA::Hash::final()'
/usr/lib64/libplasma.so.3.0.0: undefined reference to `QCA::PublicKey::fromPEM(QString const&, QCA::ConvertResult*, QString const&)'
/usr/lib64/libplasma.so.3.0.0: undefined reference to `QCA::PKey::isNull() const'
(...)

I tried to compile it with:
LDFLAGS="-rpath" also tried with -rpath-link and -L=/usr/lib64/qca2/. None of them helped. It's a bit frustrating cuz I had no problems like that with any of previous gentoo installations and with any updates of kde too.

davepi 08-21-2012 09:04 AM

Ok I was able to compile it after changing default linker to ld.gold.
Code:

binutils-config --liker ld.gold
Thanks ;)


All times are GMT -5. The time now is 01:33 PM.