On Tue, Dec 08, 2009 at 04:59:40PM +0100, Klaumi Klingsporn wrote: Hi!
> "Vamp::HostExt::PluginLoader: Unable to load library > "/usr/lib/ardour2/vamp/libardourvampplugins.so": > /usr/lib/ardour2/vamp/libardourvampplugins.so: undefined symbol: > _ZTIN11_VampPlugin4Vamp17PluginAdapterBaseE I can reproduce the bug, and it looks like others are facing the same problem: http://www.mail-archive.com/64studio-de...@lists.64studio.com/msg00400.html To me, it looks like this: a...@hex:~$ objdump -T /usr/lib/ardour2/vamp/libardourvampplugins.so | \ grep PluginAdapterBaseE 00000000 D *UND* 00000000 _ZTIN11_VampPlugin4Vamp17PluginAdapterBaseE So this symbol really is undefined. The lib is linked "correctly": a...@hex:~$ ldd /usr/lib/ardour2/vamp/libardourvampplugins.so | grep vamp libvamp-sdk.so.1 => /usr/lib/libvamp-sdk.so.1 (0xb7eea000) libvamp-hostsdk.so.2 => /usr/lib/libvamp-hostsdk.so.2 (0xb7ec3000) I see a similar symbol in libvamp-sdk: a...@hex:~$ objdump -T /usr/lib/libvamp-sdk.so.1 | grep AdapterBaseE 000147e4 w DO .data.rel.ro 00000008 Base _ZTIN4Vamp17PluginAdapterBaseE I've now managed to build a non-crashing version. Can you try the attached patch? It basically boils down to removing a single line in libs/vamp-plugins/SConscript, so you could also "patch" this manually. With this patch, I'm also getting beautiful FFT graphs. ;) If this patch does the trick, I'll upload a fixed package.
diff --git a/debian/patches/111_vamp.patch b/debian/patches/111_vamp.patch new file mode 100644 index 0000000..1cb25cb --- /dev/null +++ b/debian/patches/111_vamp.patch @@ -0,0 +1,12 @@ +diff --git a/libs/vamp-plugins/SConscript b/libs/vamp-plugins/SConscript +index fd86c09..055c46d 100644 +--- a/libs/vamp-plugins/SConscript ++++ b/libs/vamp-plugins/SConscript +@@ -19,7 +19,6 @@ Onset.cpp + Import('env install_prefix libraries') + vampplugs = env.Clone() + +-vampplugs.Append (CPPATH='#libs/vamp-sdk/vamp', CXXFLAGS="-Ilibs/vamp-sdk") + vampplugs.Merge ([libraries['vamp'], + libraries['vamphost'] + ]) diff --git a/debian/patches/series b/debian/patches/series index e4b6bb4..7ba21cb 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ 90_ardour-x-change.patch 100_syslibs.patch 110_vamp.patch +111_vamp.patch
_______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers