--- gst-plugins-base-0.10.22/gst-libs/gst/rtsp/Makefile.am-orig	2009-01-20 10:30:08.449273000 -0600
+++ gst-plugins-base-0.10.22/gst-libs/gst/rtsp/Makefile.am	2009-01-20 10:30:31.667003000 -0600
@@ -37,7 +37,7 @@ noinst_HEADERS = gstrtsp.h md5.h
 
 libgstrtsp_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
 libgstrtsp_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS) $(WIN32_LIBS) $(HSTRERROR_LIBS)
-libgstrtsp_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
+libgstrtsp_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) -lsocket -lnsl
 
 BUILT_SOURCES = $(built_headers) $(built_sources)
 EXTRA_DIST = rtsp-marshal.list
--- gst-plugins-base-0.10.22/gst-libs/gst/sdp/Makefile.am-orig	2009-01-20 10:32:37.154950000 -0600
+++ gst-plugins-base-0.10.22/gst-libs/gst/sdp/Makefile.am	2009-01-20 10:32:44.974637000 -0600
@@ -9,4 +9,4 @@ libgstsdp_@GST_MAJORMINOR@_la_SOURCES = 
 
 libgstsdp_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
 libgstsdp_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS) $(WIN32_LIBS)
-libgstsdp_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
+libgstsdp_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) -lsocket -lnsl
--- gst-plugins-base-0.10.22/gst/tcp/Makefile.am-orig	2009-01-20 10:35:18.409844000 -0600
+++ gst-plugins-base-0.10.22/gst/tcp/Makefile.am	2009-01-20 10:35:28.915966000 -0600
@@ -25,7 +25,7 @@ nodist_libgsttcp_la_SOURCES = \
 # remove ENABLE_NEW when dataprotocol is stable
 libgsttcp_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -DGST_ENABLE_NEW
 libgsttcp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
-libgsttcp_la_LIBADD = $(GST_BASE_LIBS) $(GST_GDP_LIBS) $(GST_LIBS)
+libgsttcp_la_LIBADD = $(GST_BASE_LIBS) $(GST_GDP_LIBS) $(GST_LIBS) -lsocket -lnsl
 libgsttcp_la_LIBTOOLFLAGS = --tag=disable-static
 
 noinst_HEADERS = \
