[gstreamer-bugs] [Bug 543848] New: [ladspa] Needs to link with -ldl for dlopen() and friends

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Jul 20 05:52:01 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=543848

  GStreamer | gst-plugins-bad | Ver: HEAD CVS
           Summary: [ladspa] Needs to link with -ldl for dlopen() and
                    friends
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,
the ladspa plugin fails to link as it doesn't link to libdl although needed:

 cc -shared  .libs/libgstladspa_la-gstsignalprocessor.o
.libs/libgstladspa_la-gstladspa.o .libs/libgstladspa_la-search.o
.libs/libgstladspa_la-load.o  -Wl,--as-needed /usr/lib/libgstreamer-0.10.so
/usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so
/usr/lib/libgthread-2.0.so -lrt /usr/lib/libxml2.so /usr/lib/libglib-2.0.so
-lgstaudio-0.10 -lm  -Wl,-z -Wl,defs -Wl,-O1 -pthread -Wl,-soname
-Wl,libgstladspa.so -Wl,-version-script -Wl,.libs/libgstladspa.ver -o
.libs/libgstladspa.so
.libs/libgstladspa_la-search.o: In function `LADSPADirectoryPluginSearch':
/home/slomo/projects/debian/pkg-gstreamer/experimental/build-area/gst-plugins-bad0.10-0.10.7.2/ext/ladspa/search.c:70:
undefined reference to `dlopen'
/home/slomo/projects/debian/pkg-gstreamer/experimental/build-area/gst-plugins-bad0.10-0.10.7.2/ext/ladspa/search.c:74:
undefined reference to `dlerror'
/home/slomo/projects/debian/pkg-gstreamer/experimental/build-area/gst-plugins-bad0.10-0.10.7.2/ext/ladspa/search.c:75:
undefined reference to `dlsym'
/home/slomo/projects/debian/pkg-gstreamer/experimental/build-area/gst-plugins-bad0.10-0.10.7.2/ext/ladspa/search.c:78:
undefined reference to `dlerror'
/home/slomo/projects/debian/pkg-gstreamer/experimental/build-area/gst-plugins-bad0.10-0.10.7.2/ext/ladspa/search.c:84:
undefined reference to `dlclose'
.libs/libgstladspa_la-load.o: In function `findLADSPAPluginDescriptor':
/home/slomo/projects/debian/pkg-gstreamer/experimental/build-area/gst-plugins-bad0.10-0.10.7.2/ext/ladspa/load.c:163:
undefined reference to `dlerror'
/home/slomo/projects/debian/pkg-gstreamer/experimental/build-area/gst-plugins-bad0.10-0.10.7.2/ext/ladspa/load.c:164:
undefined reference to `dlsym'
/home/slomo/projects/debian/pkg-gstreamer/experimental/build-area/gst-plugins-bad0.10-0.10.7.2/ext/ladspa/load.c:168:
undefined reference to `dlerror'
.libs/libgstladspa_la-load.o: In function `unloadLADSPAPluginLibrary':
/home/slomo/projects/debian/pkg-gstreamer/experimental/build-area/gst-plugins-bad0.10-0.10.7.2/ext/ladspa/load.c:149:
undefined reference to `dlclose'
.libs/libgstladspa_la-load.o: In function `dlopenLADSPA':
/home/slomo/projects/debian/pkg-gstreamer/experimental/build-area/gst-plugins-bad0.10-0.10.7.2/ext/ladspa/load.c:87:
undefined reference to `dlopen'
/home/slomo/projects/debian/pkg-gstreamer/experimental/build-area/gst-plugins-bad0.10-0.10.7.2/ext/ladspa/load.c:49:
undefined reference to `dlopen'
/home/slomo/projects/debian/pkg-gstreamer/experimental/build-area/gst-plugins-bad0.10-0.10.7.2/ext/ladspa/load.c:123:
undefined reference to `dlopen'
.libs/libgstladspa_la-load.o: In function `loadLADSPAPluginLibrary':
/home/slomo/projects/debian/pkg-gstreamer/experimental/build-area/gst-plugins-bad0.10-0.10.7.2/ext/ladspa/load.c:136:
undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [libgstladspa.la] Fehler 1


Patch coming soon.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=543848.




More information about the Gstreamer-bugs mailing list