All the *.la files in $SAGE_LOCAL/lib have their libdir variable rewritten when Sage is moved. Do this also when installing any spkg since we might have moved the tree. This will likely cause a number of upgrade problems.
Cheers,
Michael
Component: relocation
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/3355