add -Wl,-export-dynamic to LDFLAGS to allow direct linking of plugins