#11696: The libpng12 spkg should also create symbolic links from `libpng.*` for
its
libraries
-----------------------------------------------------+----------------------
Reporter: leif | Owner: leif
Type: defect | Status:
needs_work
Priority: major | Milestone: sage-5.8
Component: packages | Resolution:
Keywords: PNG libpng spkg | Work issues:
Report Upstream: N/A | Reviewers: Dmitrii
Pasechnik
Authors: Leif Leonhardy, Jean-Pierre Flori | Merged in:
Dependencies: | Stopgaps:
-----------------------------------------------------+----------------------
Comment (by dimpase):
Replying to [comment:35 jpflori]:
> So maybe the best solution is to do as suggested in the above linked
comment and in #4216 and use sage-native-execute to run hg on Mac OS...
> That would be the more robust solution, unless we play will
DYLD_[FALLBACK_]LIBRARY_PATH which I have no idea how Sage uses.
WIth p4, there is no lib[Pp]ng.* in $SAGE_LOCAL/lib at all on my
(curresystem. There are libpng12.* only.
(except $SAGE_LOCAL/lib/pkgconfig/libpng.pc, which is a link to
$SAGE_LOCAL/lib/pkgconfig/libpng12.pc).
This is why it works.
With p5 (i.e. spkg on the ticket), there are lots of libpng.*
{{{
sage-5.6.beta2/local/lib/libpng.3.dylib
sage-5.6.beta2/local/lib/libpng.a -> libpng12.a
sage-5.6.beta2/local/lib/libpng.dylib -> libpng12.dylib
sage-5.6.beta2/local/lib/libpng.la -> libpng12.la
}}}
This results in the name clash we see on OSX. I suppose you can tweak the
spkg to remove all the {{{libpng.*}}}, they are apparently not needed.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11696#comment:36>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.