[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: It is impossible to order the linker search path ...
From:       Thiago Macieira <thiago () kde ! org>
Date:       2007-12-04 22:26:50
Message-ID: 200712042327.00129.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Percy Camilo Triveņo Aucahuasi wrote:
>Hello, after finish all my exams in my university (finally XD); i'm
>trying to update from kde4beta4 to rc1 and i got this message:
>
>"It is impossible to order the linker search path in such a way that
>libraries specified as full paths will be picked by the linker.
>Directories and libraries involved are: ...."
>
>I wondering , Why is that?

Because cmake found two different versions of a library you're trying to 
link against. And it is unable to find a solution to the problem.

What is probably happening is that you're building KDE application A that 
links to libs X and Y. And the library Y also links to X, but it's a 
different version.

So CMake cannot fix the problem by changing the library ordering on the 
command-line.

The only times this has happened to me, all it took was to remove 
CMakeCache.txt and start a new, consistent build. Make sure that the 
version of the library you do NOT want to link against isn't in /usr/lib 
(if it is, you'll have to remove it).
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic