After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 568483 - Problems linking gst-plugins-bad
Problems linking gst-plugins-bad
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.x
Other opensolaris
: Normal normal
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-20 20:57 UTC by Brian Cameron
Modified: 2009-01-23 09:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
patch fixing problem (2.42 KB, patch)
2009-01-20 20:57 UTC, Brian Cameron
needs-work Details | Review

Description Brian Cameron 2009-01-20 20:57:15 UTC
Several gst-plugins-bad plugins fail to build on Solaris due to missing -lm,
-lsocket, and/or -lnsl libraries on the link line.  

This patch fixes gst-plugins-bad so it builds.  Not sure if this patch needs
additional work to go upstream.
Comment 1 Brian Cameron 2009-01-20 20:57:37 UTC
Created attachment 126868 [details] [review]
patch fixing problem
Comment 2 Sebastian Dröge (slomo) 2009-01-22 13:07:07 UTC
This patch is not correct in this form. We need to add some configure checks to add those libraries, for -lm you can use $(LIBM) together with AC_CHECK_LIBM and AC_SUBST(LIBM) in configure.
Comment 3 Sebastian Dröge (slomo) 2009-01-23 09:46:30 UTC
The first part, the nsl/socket library linking, was already done as part of the other bug. I've committed the -lm linking part now (but used $(LIBM) instead of -lm).

commit eac03fc77e1cde1a67bbad15747afcb3b976ad9b
Author: Brian Cameron <brian.cameron@sun.com>
Date:   Fri Jan 23 10:44:20 2009 +0100

    Link modplug plugin with -lm. Fixes bug #568483.