#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:
------------------------+---------------------------------------------------
Changes (by jhpalmieri):
* status: needs_review => needs_work
Comment:
A full build works successfully on sage.math and another unix box on
skynet (taurus). I'm still waiting on the skynet machines fulvia
(!OpenSolaris), mark (Solaris), and iras ("ia64-Linux-suse").
Meanwhile, this fails on OS X 10.6.8. That is, while the spkg builds, it
causes R to fail to install. I've put the full install log
[http://sage.math.washington.edu/home/palmieri/misc/r-2.10.1.p4.log on-
line], but here is the tail end of the log:
{{{
building package 'graphics'
mkdir ../../../library/graphics
make[4]: warning: -jN forced in submake: disabling jobserver mode.
mkdir ../../../library/graphics/R
mkdir ../../../library/graphics/po
make[4]: warning: -jN forced in submake: disabling jobserver mode.
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared library
'/Applications/sage_builds/sage-4.7.1.rc2/spkg/build/r-2.10.1.p4/src/library/grDevices/libs/grDevices.so':
dlopen(/Applications/sage_builds/sage-4.7.1.rc2/spkg/build/r-2.10.1.p4/src/library/grDevices/libs/grDevices.so,
6): Symbol not found: __cg_png_create_info_struct
Referenced from:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in:
/Applications/sage_builds/sage-4.7.1.rc2/local/lib//libPng.dylib
in
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Calls: <Anonymous> ... namespaceImport -> loadNamespace -> library.dynam
-> dyn.load
Execution halted
make[4]: *** [mklazy] Error 1
make[3]: *** [all] Error 2
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1
Error building R.
}}}
On one OS X box, the following line from the R install log switched from
"no" to "yes" after installing the new libpng spkg:
{{{
checking for png_create_write_struct in -lpng... yes
}}}
On another box, it said "yes" for the old spkg as well. For both
machines, I get the same failure.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11696#comment:6>
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.