Bug 192044

Summary: Linker Fails to Find libgme
Product: Ports & Packages Reporter: Jordan Irwin <antumdeluge>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: marino, nox
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Output of compiler/linker for vlc/libgme none

Description Jordan Irwin 2014-07-22 19:41:00 UTC
Created attachment 144891 [details]
Output of compiler/linker for vlc/libgme

When trying to compile vlc with game music emu (gme) support it fails with the linker not being able to find libgme. I had to create sym-links to /usr/local/lib/libgme.so, /usr/local/lib/libgme.so.0, and /usr/local/lib/libgme.so.0.5.3 in /usr/lib.

This bug is similar to bug 191997: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191997
Comment 1 John Marino freebsd_committer freebsd_triage 2014-07-22 19:54:14 UTC
This sounds like you didn't do a recursive update (iow you should have updated all the dependencies first.  Poudriere does this be default, probably portmaster too but not sure about that.
Comment 2 Jordan Irwin 2014-07-22 21:24:09 UTC
Sorry, I'm pretty new to using FreeBSD. After I installed the system and booted into it I followed the instructions in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

I don't think I skipped any steps. I used the portsnap method:

$ portsnap fetch
$ portsnap extact
$ portsnap fetch
$ portsnap update
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-07-22 21:31:21 UTC
A commit references this bug:

Author: nox
Date: Tue Jul 22 21:31:12 UTC 2014
New revision: 362585
URL: http://svnweb.freebsd.org/changeset/ports/362585

Log:
  Fix build with GME knob.

  PR:		192044

Changes:
  head/multimedia/vlc/Makefile
Comment 4 Juergen Lock freebsd_committer freebsd_triage 2014-07-22 21:32:31 UTC
Fix committed.  Thanks!