#6610: Compiler environment variables should be consistent
-------------------------+--------------------------------------------------
Reporter: ghtdak | Owner: tbd
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: build | Keywords: Environment
Reviewer: | Author:
Merged: |
-------------------------+--------------------------------------------------
Sage sets the environment variable LIBRARY_PATH which is a gcc variable.
OTOH, it doesn't set CPATH or C_INCLUDE_PATH or CPLUS_INCLUDE_PATH. This
causes inconsistencies, particularly since Sage replicates many Linux
libraries potentially leading to version issues.
LD_LIBRARY_PATH is also set (appended / modified), as it would need to be,
but that is for the loader (ld). Sometimes this leads to difficulties
when running non-Sage installed executables which use replicated
libraries. One example is Git which doesn't like Sage's zlib.
This latter problem is more difficult to address and rarely causes
difficulty. In fact, the only manifestation I've seen is git although it
seems obvious that there are potential problems lurking.
In my case, I replace the symlinks for libz.so* to reference the system
libraries. This will work as long as major version's (interfaces) are
consistent.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6610>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---