Skip to content

DLPATH and make #447

@videlec

Description

@videlec

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, modifying LD_LIBRARY_PATH causes 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions