[MacPorts] #40133: gd2 @2.1.0: ld: library not found for -lvpx (was: gnuplot @4.6.3_2+aquaterm+luaterm+pangocairo+x11: fails to build on osx 10.8.4)

MacPorts noreply at macports.org
Thu Aug 15 09:48:24 PDT 2013


#40133: gd2 @2.1.0: ld: library not found for -lvpx
----------------------------+--------------------------
  Reporter:  pachecomarc@…  |      Owner:  ryandesign@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  gd2 gnuplot    |
----------------------------+--------------------------
Changes (by mojca@…):

 * owner:  mojca@… => ryandesign@…
 * version:  2.2.0 =>
 * port:  gnuplot => gd2 gnuplot


Old description:

> Fails with this error:
>
> {{{
> Error: org.macports.build for port gnuplot returned: command execution
> failed
> Please see the log file for port gnuplot for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gnuplot/gnuplot/main.log
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port gnuplot failed
> }}}
>
> I hav attached the log file.

New description:

 gnuplot @4.6.3_2+aquaterm+luaterm+pangocairo+x11: fails to build on osx
 10.8.4 with this error:

 {{{
 Error: org.macports.build for port gnuplot returned: command execution
 failed
 Please see the log file for port gnuplot for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gnuplot/gnuplot/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port gnuplot failed
 }}}

 {{{
 :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
 :info:build ld: library not found for -lvpx
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[3]: *** [gnuplot] Error 1
 }}}
 I have attached the log file.

--

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.

-- 
Ticket URL: <https://trac.macports.org/ticket/40133#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list