Bug 192044 - Linker Fails to Find libgme
Summary: Linker Fails to Find libgme
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-22 19:41 UTC by Jordan Irwin
Modified: 2014-07-22 21:32 UTC (History)
2 users (show)

See Also:


Attachments
Output of compiler/linker for vlc/libgme (9.16 KB, text/x-log)
2014-07-22 19:41 UTC, Jordan Irwin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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!