Ticket #7 (closed defect: worksforme)

Opened 3 years ago

Last modified 2 years ago

broken plugins

Reported by: kickback Assigned to: kickback
Priority: highest Milestone:
Component: sweep Version:
Severity: blocker Keywords: plugins ladspa broken undefined symbol
Cc: conrad

Description

the plugins are broken, at least on my system. g_module_open fails instantly unless G_MODULE_BIND_LAZY is specified but that only defers the problem until the module is used. (i'm sure this worked at one point as i've used the plugins. but now it doesn't and i don't recall changing anything in the interim. gotta love that.) the plugins fail due to missing symbols. these symbols are in the main executable. i thought it might be that $(EXPORT_SYMBOLS_LDFLAGS) wasn't working properly but i've tried specifying -Wl, --export-dynamic to no avail.

an example error for the ladspameta plugin when G_MODULE_BIND_LAZY is used:

sweep: symbol lookup error: /usr/local/lib/sweep/libladspameta.so: undefined symbol: sample_get_sounddata

specifying 0 instead of G_MODULE_BIND_LAZY to indicate immediate symbol binding just produces and empty plugin menu as they all fail to load.

Change History

09/12/05 14:29:18 changed by kickback

  • status changed from new to assigned.

scratch that..

i introduced a space by mistake and after changing "-Wl, --export-dynamic into"

"-Wl,--export-dynamic" in src/Makefile.am:sweep_LDFLAGS everything works as it should with the needed symbols listed as dynamic in the main executable.

the question now is, why does ${EXPORT_SYMBOLS_LDFLAGS} fail to work? where is this defined anyway...? and why is my mouse cable far too short.....?

09/21/05 09:52:16 changed by kickback

committed changeset:271 with changes to configure.ac and src/Makefile.am, aimed at fixing this in a fairly cross platform way. any problems with it then please let me know. I'll wait a while before marking this as fixed.

01/16/06 03:44:18 changed by kickback

  • status changed from assigned to closed.
  • resolution set to worksforme.