LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 08-21-2012, 06:37 AM   #1
davepi
Member
 
Registered: Jun 2012
Distribution: Gentoo
Posts: 42

Rep: Reputation: Disabled
Question 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.
 
Old 08-21-2012, 09:04 AM   #2
davepi
Member
 
Registered: Jun 2012
Distribution: Gentoo
Posts: 42

Original Poster
Rep: Reputation: Disabled
Ok I was able to compile it after changing default linker to ld.gold.
Code:
binutils-config --liker ld.gold
Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
try using -rpath or -rpath-link knobby67 Programming 5 11-12-2015 02:04 PM
Disable rpath at runtime? smudge Linux - General 1 02-22-2010 05:13 PM
Java Rpath ? maas187 Linux - Software 2 09-27-2009 05:20 AM
gcc option -Wl,-rpath : what does it mean? stupendus Programming 2 08-13-2007 10:21 AM
rPath remaster phantom_cyph Linux - General 3 05-19-2007 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 05:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration