GNOME Bugzilla – Bug 568482
linking problems in gst-plugins-base
Last modified: 2009-01-23 09:02:51 UTC
Several gst-plugins-base plugins fail to build on Solaris due to missing -lsocket, and -lnsl libraries on the link line. This patch fixes GStreamer so it builds. Not sure if this patch needs additional work to go upstream.
Created attachment 126867 [details] [review] patch fixing problem
This patch is not correct in this form. We need to add some configure checks to add those libraries.
Created attachment 127062 [details] [review] updated patch This updated patch fixes configure to check for libsocket and libnsl, so the libraries get added to LIBS if present on the system. This seems cleaner and hopefully can go upstream.
commit 16347bfa21be999a7615823e9d6cd1f460830f4d Author: Brian Cameron <brian.cameron@sun.com> Date: Fri Jan 23 10:00:11 2009 +0100 Fix linking on Solaris. Fixes bug #568482. Check for nsl and socket libraries and add them to LIBS if they're found. They're needed for socket() and gethostbyname() on Solaris.