#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-4.7.2
Component: packages | Keywords: PNG libpng spkg
Work_issues: | Upstream: N/A
Reviewer: | Author: Leif Leonhardy
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by leif):
Replying to [comment:9 leif]:
> Ok, removing `$SAGE_ROOT/local/lib/libpng.dylib` should be sufficient to
make R install, though then keeping `$SAGE_ROOT/local/lib/libpng.3.dylib`
doesn't make much sense either. (Just wondering why the mtimes of the
libraries of 4.7.1 differ that much.)
>
> I'll update the spkg accordingly later.
Ooops, completely forgot this ticket.
Deleting the symbolic link `libpng.dylib -> libpng12.dylib` can also cause
trouble, namely if `pkg-config` '''is''' installed on Darwin, we still
have a broken / messed-up `libpng12.pc` file (containing
`SAGE_ROOT=${SAGE_ROOT}`), and there's '''no''' system-wide `libpng.dylib`
installed.
Johan Bosman apparently [http://groups.google.com/group/sage-
release/msg/ab91298b636b947a ran into this].
So we should perhaps only remove the symbolic link (on Darwin) if there's
really a system-wide `libpng` installed.
Nevertheless, we should still fix `sage-location` to not "initialize"
`.pc` files more than once, until we handle these files differently such
that `sage-location` won't have to deal with them at all.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11696#comment:11>
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.