#9431: opencdk spkg should add $SAGE_LOCAL/lib to LDFLAGS
-----------------------+----------------------------------------------------
Reporter: rlm | Owner: GeorgSWeber
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.5
Component: build | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------+----------------------------------------------------
Comment(by wjp):
Some more preliminary results:
It seems that adding {{{$SAGE_LOCAL/lib}}} to {{{$LIBRARY_PATH}}} as
{{{sage-env}}} does, might have unexpected effects:
On 64 bit gentoo:
{{{
$ export LIBRARY_PATH=/blah
$ gcc -print-search-dirs
[...]
libraries: =/blah/x86_64-pc-linux-gnu/4.1.2/:/blah/../lib64/
}}}
So {{{$SAGE_LOCAL/lib}}} does _not_ end up being searched by gcc in this
case. (But the non-existent {{{$SAGE_LOCAL/lib64}}} does.)
On 64 bit debian (Lenny), this is
{{{
libraries: =/blah/x86_64-linux-gnu/4.3.2/:/blah/../lib/
}}}
It looks like we're completely mis-using {{{LIBRARY_PATH}}}... Maybe it's
worth considering putting {{{-L$SAGE_LOCAL/lib}}} in {{{$LDFLAGS}}} in
{{{sage-env}}}.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9431#comment:2>
Sage <http://www.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.