Opened 7 years ago

Closed 7 years ago

#4657 closed defect (fixed)

[with patch, positive review] OSX: gnuplot doesn't start due to dreaded libpng conflict

Reported by: mabshoff Owned by: mabshoff
Priority: major Milestone: sage-3.2.1
Component: build Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by mabshoff)

In http://groups.google.com/group/sage-support/browse_thread/thread/9b61a7cf8fbfac7a Wayne reported:

/WW/Projects/Heart/bash$sage 
---------------------------------------------------------------------- 
| Sage Version 3.2, Release Date: 2008-11-20                         | 
| Type notebook() for the GUI, and license() for information.        | 
---------------------------------------------------------------------- 
sage: gnuplot_console() 
dyld: 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: /Users/ww/Applications/Scientific/sage/local/lib// 
libpng12.0.dylib 
sage: 

The fix should be obvious by now, i.e. use sage-native-execute

Cheers,

Michael

Attachments (1)

trac_4657.patch (793 bytes) - added by mabshoff 7 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 7 years ago by mabshoff

  • Description modified (diff)
  • Summary changed from OSXL: gnuplot doesn't start due to dreaded libpng conflict to OSX: gnuplot doesn't start due to dreaded libpng conflict

Changed 7 years ago by mabshoff

comment:2 Changed 7 years ago by mabshoff

  • Status changed from new to assigned
  • Summary changed from OSX: gnuplot doesn't start due to dreaded libpng conflict to [with patch, needs review] OSX: gnuplot doesn't start due to dreaded libpng conflict

The problem only manifests itself when using a system wide gnuplot, i.e. for example a Fink one. The patch should fix that. The experimental gnuplot-4.0.0.spkg in our repo is currently slightly broken on OSX since it calls Emacs at some point and then blows up due to the same libpng issues. Oh well ...

Cheers,

Michael

comment:3 Changed 7 years ago by was

  • Summary changed from [with patch, needs review] OSX: gnuplot doesn't start due to dreaded libpng conflict to [with patch, positive review] OSX: gnuplot doesn't start due to dreaded libpng conflict

comment:4 Changed 7 years ago by mabshoff

  • Resolution set to fixed
  • Status changed from assigned to closed

Merged in Sage 3.2.1.rc1

Note: See TracTickets for help on using tickets.