GNUPlot fails to build due to libcairopango and libcairo incompatibility

Lawrence Velázquez larryv at macports.org
Wed Feb 13 12:51:39 PST 2013


On Feb 13, 2013, at 3:07 PM, Alex Rudy <alex.rudy at gmail.com> wrote:

> :info:build dyld: Library not loaded: /opt/local/lib/libcairo.2.dylib
> :info:build   Referenced from: /opt/local/lib/libpangocairo-1.0.0.dylib
> :info:build   Reason: Incompatible library version: libpangocairo-1.0.0.dylib requires version 11203.0.0 or later, but libcairo.2.dylib provides version 11107.0.0
> :info:build make[2]: *** [gnuplot.gih] Trace/BPT trap: 5
> 
> I'm a little puzzled. I tried force-uninstalling cairo, which caused pango to rebuild during the rev-upgrade phase. However, during rev-upgrade, gnuplot still fails to build.
> 
> Here were my steps:
> 
> 1. Initially, I upgraded MacPorts to version 2.1.3, and updated my ports tree.

Do you have cairo or cairo-devel? The latest cairo (which is newer than the latest cairo-devel) provides a sufficiently new library.

    % port installed 'cairo*'
    The following ports are currently installed:
      cairo @1.12.14_0+x11 (active)
    % otool -L /opt/local/lib/libcairo.2.dylib | head -n 2
    /opt/local/lib/libcairo.2.dylib:
	/opt/local/lib/libcairo.2.dylib (compatibility version 11203.0.0, current version 11203.14.0)
    %

vq


More information about the macports-users mailing list