cmake -E cmake_symlink_library fails without error message

Alexander Neundorf neundorf at kde.org
Mon Mar 2 20:57:41 CET 2009


On Monday 02 March 2009, David Faure wrote:
> Output of make:
...
> This is because
> libkonq.so.5 is a broken symlink to libkonq.so.5.2.0, which doesn't exist
> anymore (the version number was increased so it's 5.3.0 now).
>
> This seems to indicate two bugs
> 1) cmake -E cmake_symlink_library should output an error on stderr when it
> fails, so that the user is given a hint about the fact that it's the
> symlinking that failed and not the actual linking with ld.
> 2) the symlink should be removed before being re-created; or should be
> tested with lstat() rather than access(), and then removed.

Can you please put this in the cmake bug tracker so it doesn't get lost ?

Thanks
Alex



More information about the Kde-buildsystem mailing list