You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Component: build
Keywords: Environment
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/6610
The text was updated successfully, but these errors were encountered: