Bug 191836 - multimedia/vlc /usr/bin/ld: cannot find -lmpcdec
Summary: multimedia/vlc /usr/bin/ld: cannot find -lmpcdec
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Many People
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-12 11:34 UTC by mikhail.rokhin
Modified: 2014-07-12 18:04 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mikhail.rokhin 2014-07-12 11:34:23 UTC
FreeBSD localhost 11.0-CURRENT FreeBSD 11.0-CURRENT #5 r268088: Tue Jul  1 23:31:59 MSK 2014     root@localhost:/usr/obj/usr/src/sys/GENERIC  i386



libtool: link: /usr/bin/nm -B  .libs/libmpc_plugin_la-mpc.o   | sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libmpc_plugin.exp
libtool: link: /usr/bin/egrep -e "^vlc_entry" ".libs/libmpc_plugin.exp" > ".libs/libmpc_plugin.expT"
libtool: link: mv -f ".libs/libmpc_plugin.expT" ".libs/libmpc_plugin.exp"
libtool: link: cc -shared  -fPIC -DPIC  .libs/libmpc_plugin_la-mpc.o   -Wl,-rpath -Wl,/usr/ports/multimedia/vlc/work/vlc-2.1.4/src/.libs -Wl,-rpath -Wl,/usr/local/lib ../../compat/.libs/libcompat.a ../../src/.libs/libvlccore.so -lmpcdec -lm  -O2 -march=native -O4 -Wl,-rpath=/usr/lib:/usr/local/lib -pthread   -pthread -Wl,-soname -Wl,libmpc_plugin.so -Wl,-retain-symbols-file -Wl,.libs/libmpc_plugin.exp -o .libs/libmpc_plugin.so
libtool: link: /usr/bin/nm -B  .libs/libogg_plugin_la-ogg.o .libs/libogg_plugin_la-oggseek.o .libs/libogg_plugin_la-xiph_metadata.o   | sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libogg_plugin.exp
/usr/bin/ld: cannot find -lmpcdec
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[6]: *** [libmpc_plugin.la] Error 1
gmake[6]: *** Waiting for unfinished jobs....
libtool: link: /usr/bin/egrep -e "^vlc_entry" ".libs/libogg_plugin.exp" > ".libs/libogg_plugin.expT"
libtool: link: ( cd ".libs" && rm -f "libmod_plugin.la" && ln -s "../libmod_plugin.la" "libmod_plugin.la" )
libtool: link: mv -f ".libs/libogg_plugin.expT" ".libs/libogg_plugin.exp"
libtool: link: cc -shared  -fPIC -DPIC  .libs/libogg_plugin_la-ogg.o .libs/libogg_plugin_la-oggseek.o .libs/libogg_plugin_la-xiph_metadata.o   -Wl,-rpath -Wl,/usr/ports/multimedia/vlc/work/vlc-2.1.4/src/.libs -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib ../../compat/.libs/libcompat.a ../../src/.libs/libvlccore.so -L/usr/local/lib /usr/local/lib/libogg.so  -O2 -march=native -O4 -Wl,-rpath=/usr/lib:/usr/local/lib -pthread   -pthread -Wl,-soname -Wl,libogg_plugin.so -Wl,-retain-symbols-file -Wl,.libs/libogg_plugin.exp -o .libs/libogg_plugin.so
libtool: link: ( cd ".libs" && rm -f "libogg_plugin.la" && ln -s "../libogg_plugin.la" "libogg_plugin.la" )
gmake[6]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.1.4/modules/demux'
gmake[5]: *** [all] Error 2
gmake[5]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.1.4/modules/demux'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.1.4/modules'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.1.4'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.1.4'
===> Compilation failed unexpectedly.
Comment 1 commit-hook freebsd_committer 2014-07-12 18:03:44 UTC
A commit references this bug:

Author: nox
Date: Sat Jul 12 18:03:25 UTC 2014
New revision: 361631
URL: http://svnweb.freebsd.org/changeset/ports/361631

Log:
  - Fix build with MUSEPACK knob.
  - Replace another occurence of /usr/local with LOCALBASE.

  PR:		191836
  Submitted by:	mikhail.rokhin@gmail.com

Changes:
  head/multimedia/vlc/Makefile
Comment 2 Juergen Lock freebsd_committer 2014-07-12 18:04:45 UTC
Fix committed.  Thanks!