On Nov 9, 2007 4:49 AM, Joshua Kantor <[EMAIL PROTECTED]> wrote:
> This is something which has confused me in the past.
> The issue is that there are two shared object libraries with the exact
> same name. If we compile with -L$SAGE_LOCAL/lib
> are we guaranteed that this will be searched before /usr/lib at
> runtime.

In short, yes, since that path is in LD_LIBRARY_PATH when Sage runs.

I think if the *shared* libraries have exactly the same name, then
which will be used at runtime is determined by the library load
path.  In particular, LD_LIBRARY_PATH if set will be searched
first, then the system standard library path.

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to