GNOME Bugzilla – Bug 568483
Problems linking gst-plugins-bad
Last modified: 2009-01-23 09:46:30 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.
Created attachment 126868 [details] [review] patch fixing problem
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.
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.