[Scons-users] Symbolic links issue

Bill Deegan bill at baddogconsulting.com
Tue Jun 24 13:01:42 EDT 2014


Erling,

Can you post the logic you are using to create the symlink(s)?

-Bill


On Thu, Jun 12, 2014 at 1:35 AM, Erling D. Andersen <e.d.andersen at mosek.com>
wrote:

> We use scons to create so symbolic to an shared object (.so file) now that
> give rise to the error
>
>   scons: *** [bld/gram/final/default/intelc-14.0.1/dll/libmosek64.so] File exists
>
>
> Here is the diagnose behind the problem.
>
>
> When we rebuild the shared object then of course
>
>   1. The shared object target is deleted
>   2. The symbolic link should be deleted.
>
> Now if it happens to delete the shared object first then symbolic does
> ***NOT*** get deleted because the file it points does not exists.
> Now if it happens to delete symbolic link first it works fine.
>
> How does scons decide when to delete symbolic links? Anyone knows where
> that decision is made in source code?
>
> --
> Erling D. Andersen
>
> MOSEK APS
> Fruebjergvej 3, Box 16,
> DK-2100 Copenhagen O
>
> Ph: +4539179907
> Mo: +452362920
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140624/83b1711a/attachment.html>


More information about the Scons-users mailing list