Opened 14 years ago

Closed 14 years ago

#25016 closed defect (invalid)

gnuplot-4.4.0 builds but run fails: Incompatible library version libfreetype.6.dylib

Reported by: boris.blankleider@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: gnuplot

Description (last modified by mf2k (Frank Schima))

After a fresh install of macports 1.8.2 on OSX 10.5.8, I installed gnuplot with no problems. However the resulting build fails to run:

$ gnuplot
dyld: Library not loaded: /opt/local/lib/libfreetype.6.dylib
  Referenced from: /opt/local/bin/gnuplot
  Reason: Incompatible library version: gnuplot requires version 11.0.0 or later, but libfreetype.6.dylib provides version 10.0.0

$ sudo port upgrade outdated
Error: No ports matched the given expression

Change History (8)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: gnuplot incompatible library removed

comment:2 Changed 14 years ago by mf2k (Frank Schima)

What is the output of the following?

port installed freetype gnuplot

comment:3 in reply to:  2 Changed 14 years ago by boris.blankleider@…

$ port installed freetype gnuplot

The following ports are currently installed:

freetype @2.3.12_0+macosx (active) gnuplot @4.4.0_0+darwin (active)

comment:4 Changed 14 years ago by mf2k (Frank Schima)

What is the output of the following?

port provides /opt/local/lib/libfreetype.6.dylib
otool -L /opt/local/lib/libfreetype.6.dylib

comment:5 Changed 14 years ago by boris.blankleider@…

$ port provides /opt/local/lib/libfreetype.6.dylib /opt/local/lib/libfreetype.6.dylib is provided by: freetype

$ otool -L /opt/local/lib/libfreetype.6.dylib /opt/local/lib/libfreetype.6.dylib:

/opt/local/lib/libfreetype.6.dylib (compatibility version 11.0.0, current version 11.0.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.5)

comment:6 Changed 14 years ago by mf2k (Frank Schima)

freetype has been updated to version 2.4.1. Is this still a problem for you. BTW, everything looks just like on my system where it works.

comment:7 Changed 14 years ago by boris.blankleider@…

The problem got resolved recently when a similar runtime failure occurred with xfig, and it was suggested that my DYLD_LIBRARY_PATH was screwing things up. Once I fixed this path both xfig and gnuplot ran like a charm - see https://trac.macports.org/ticket/25723

comment:8 Changed 14 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

Glad you got it working.

Note: See TracTickets for help on using tickets.