- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 684
Description
Guile plugin in make under certain not completely clear conditions, likely to do with a version misconfiguration of system libraries,
may fail to build a number of Sage packages. For example, while building Sage 8.2.beta3 on latest archlinux one gets
make: symbol lookup error: /usr/lib/libguile-2.2.so.1: undefined symbol: 
GC_move_disappearing_link
as libguile looks at the LD_LIBRARY_PATH containing a different version of libgc.so than the one it needs.
See also this report on sage-devel.
After deactivating the gc package, the compilation went fine.
However, this cannot be reproduced on other Linux systems.
The workaround in the branch consists in declaring the environment variable LD_PRELOAD so that make uses the system gc. The workaround has to be applied to the 2 standard packages R and rpy2.
The three other packges flint/arb/deformation fail to build for the same reason and we apply a small patch to avoid them redefining LD_LIBRARY_PATH.
Upstream issues
- flint: upstream issue at DLPATH and make flintlib/flint#447
- arb: upstream issue at DLPATH and make flintlib/arb#213
- deformation: issue with recent gcc "/usr/bin/ld: -r and -pie may not be used together" jpflori/pydeformation#5 (for the pie trouble from optional package deformation fails to build #24902)
Depends on #24885
Upstream: Reported upstream. No feedback yet.
CC: @embray @vbraun @EmmanuelCharpentier @defeo @jpflori
Component: packages: standard
Author: Erik Bray, Vincent Delecroix
Branch/Commit: u/vdelecroix/24575 @ 0d8a4a9
Reviewer: Erik Bray, Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/24575