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 568482 - linking problems in gst-plugins-base
linking problems in gst-plugins-base
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.x
Other opensolaris
: Normal normal
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-20 20:55 UTC by Brian Cameron
Modified: 2009-01-23 09:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch fixing problem (1.93 KB, patch)
2009-01-20 20:56 UTC, Brian Cameron
needs-work Details | Review
updated patch (528 bytes, patch)
2009-01-23 04:40 UTC, Brian Cameron
committed Details | Review

Description Brian Cameron 2009-01-20 20:55:49 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.
Comment 1 Brian Cameron 2009-01-20 20:56:24 UTC
Created attachment 126867 [details] [review]
patch fixing problem
Comment 2 Sebastian Dröge (slomo) 2009-01-22 13:07:37 UTC
This patch is not correct in this form. We need to add some configure checks to add those libraries.
Comment 3 Brian Cameron 2009-01-23 04:40:22 UTC
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.
Comment 4 Sebastian Dröge (slomo) 2009-01-23 09:02:51 UTC
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.