cmake cvs and runtime path resolution

Brad King brad.king at
Thu Feb 21 19:55:21 CET 2008

David Faure wrote:
> On Thursday 21 February 2008, Brad King wrote:
>>  I'm looking at adding something to guess 
>> that if the file name given is a symlink with no path component that the 
>> symlink points at the soname.
> Would this also work in these case?
> ->
> ->
> I guess the soname is in this case, but looking at the first symlink wouldn't tell that.
> ->
> -> /lib/
> The soname is, right? First symlink will make you think it's, no?

Yeah, it's hard to do reliably.  Since this is used only to reduce cases 
of false positives I'm making the test more conservative by also 
requiring the symlink file name itself to be a substring at the 
beginning of its own destination value.  With this restriction both 
cases you give will not guess the soname and instead use "*" 
and "*" to look for conflicts.

Unfortunately if there are in fact instances of in other 
directories the rpath ordering will not take them into account (which is 
a false negative).  At least the guessing process will reduce the false 
positive rate.  Later we can try to add more powerful soname determination.


More information about the Kde-buildsystem mailing list