Changes between Version 1 and Version 2 of Ticket #40133


Ignore:
Timestamp:
Aug 15, 2013, 4:48:24 PM (11 years ago)
Author:
mojca (Mojca Miklavec)
Comment:

What do

gdlib-config --libs

and

port contents libvpx | grep lib

return on your computer? I didn't update gd2 yet, but here it returns

-lgd -ljpeg -lz -L/opt/local/lib -lpng15 -L/opt/local/lib -lfreetype -L/opt/local/lib -lfontconfig -lfontconfig -L/opt/local/lib -lXpm -lX11 -L/opt/local/lib -lvpx -L/opt/local/lib -ltiff -liconv

and

  /opt/local/lib/libvpx.a
  /opt/local/lib/pkgconfig/vpx.pc

which is apparently sufficient for the linking to be successful.

I believe this is an issue with gd2 or libvpx, not with gnuplot. Gnuplot just uses whatever gdlib-config --libs returns.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40133

    • Property Owner changed from mojca@… to ryandesign@…
    • Property Version changed from 2.2.0 to
    • Property Port gd2 added
    • Property Summary changed from gnuplot @4.6.3_2+aquaterm+luaterm+pangocairo+x11: fails to build on osx 10.8.4 to gd2 @2.1.0: ld: library not found for -lvpx
  • Ticket #40133 – Description

    v1 v2  
    1 Fails with this error:
     1gnuplot @4.6.3_2+aquaterm+luaterm+pangocairo+x11: fails to build on osx 10.8.4 with this error:
    22
    33{{{
     
    1010}}}
    1111
    12 I hav attached the log file.
     12{{{
     13:info:build /usr/bin/clang++  -pipe -Os -arch x86_64  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -L/opt/local/lib -o gnuplot alloc.o axis.o binary.o breaders.o color.o command.o contour.o datafile.o dynarray.o eval.o fit.o gadgets.o getcolor.o graph3d.o graphics.o help.o hidden3d.o history.o internal.o interpol.o matrix.o misc.o mouse.o parse.o plot.o plot2d.o plot3d.o pm3d.o readline.o save.o scanner.o set.o show.o specfun.o standard.o stats.o stdfn.o tables.o tabulate.o term.o time.o unset.o util.o util3d.o variable.o version.o  gp_cairo.o gp_cairo_helpers.o    -lreadline  -lncurses  -lz -lgd -lgd -ljpeg -lz -L/opt/local/lib -lpng15 -L/opt/local/lib -lfreetype -L/opt/local/lib -lfontconfig -lfontconfig -L/opt/local/lib -lXpm -lX11 -L/opt/local/lib -lvpx -liconv -ljpeg -lpdf -L/opt/local/lib -llua -lm     -framework Foundation -framework AquaTerm -F/opt/local/Library/Frameworks -L/opt/local/lib -lz -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0 -lfreetype -lfontconfig -lglib-2.0 -lintl
     14:info:build ld: library not found for -lvpx
     15:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
     16:info:build make[3]: *** [gnuplot] Error 1
     17}}}
     18I have attached the log file.