-
Notifications
You must be signed in to change notification settings - Fork 275
Closed
Description
Compiling Sage with archlinux we are faced to a delicate problem:
- make is linked to libguile (that link to libgc)
- libgc is packaged by Sage with a different version and put in $SAGE_ROOT/local/lib
As a consequence, modifyingLD_LIBRARY_PATHcauses build failure (see [https://trac.sagemath.org/ticket/24575 upstream issue]). For flint, the culprit are the lines 1-5 of Makefile.in
ifdef $(DLPATH)
$(DLPATH):=$($(DLPATH)):$(DLPATH_ADD)
else
$(DLPATH):=$(DLPATH_ADD)
endif
Removing them allow to build flint without troubles.
Note that we have a possible workaround in Sage using LD_PRELOAD (see the branch on upstream ticket).
Metadata
Metadata
Assignees
Labels
No labels