#40133 closed defect (fixed)
gd2 @2.1.0: ld: library not found for -lvpx
Reported by: | pachecomarc@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | mojca (Mojca Miklavec) | |
Port: | gd2 |
Description (last modified by mojca (Mojca Miklavec))
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.
Attachments (1)
Change History (6)
Changed 11 years ago by pachecomarc@…
comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to mojca@… |
Summary: | gnuplot-4.6.3fails to build on osx 10.8.4 → gnuplot @4.6.3_2+aquaterm+luaterm+pangocairo+x11: fails to build on osx 10.8.4 |
In the future, please Cc relevant port maintainers (port info --maintainers
).
: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
comment:2 Changed 11 years ago by mojca (Mojca Miklavec)
Description: | modified (diff) |
---|---|
Owner: | changed from mojca@… to ryandesign@… |
Port: | gd2 added |
Summary: | gnuplot @4.6.3_2+aquaterm+luaterm+pangocairo+x11: fails to build on osx 10.8.4 → gd2 @2.1.0: ld: library not found for -lvpx |
Version: | 2.2.0 |
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.
comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | gnuplot removed |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | → 2.2.0 |
Replying to pachecomarc@…:
:info:build ld: library not found for -lvpx
Already fixed. See r109435 and comment:ticket:39550:22.
sudo port selfupdate sudo port upgrade outdated sudo port clean gnuplot sudo port install gnuplot
comment:5 Changed 11 years ago by pachecomarc@…
Wow that was fast. Thank you. Next time I’ll be sure to cc the correct people.
Marc
Note: See
TracTickets for help on using
tickets.
Build log file