Summary: | media-video/vlc has undefined symbol: NPP_Initialize on /usr/lib64/nsbrowser/plugins/libvlcplugin.so | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Justin Lecher (RETIRED) <jlec> |
Component: | Current packages | Assignee: | Alexis Ballier <aballier> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bbutscheidt, evan.teran, gentoo, mike, mozilla, rh1, shiningarcanine, tobias.pal, voyageur |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch for the plugin |
Description
Justin Lecher (RETIRED)
2011-03-30 10:27:00 UTC
Well, it's a xulrunner 2.0 problem, obviously. A quick google suggests, that those two functions can be simply removed. By two, I mean NPP_Shutdown and NPP_Initialize. I think I see the real problem with this bug: mozilla plugin is only in vlc-1.1 branch, not in the to-be-1.2. Correction: the code was separated a few months back to http://git.videolan.org/?p=npapi-vlc.git but there were no significant moves since then. I don't see any fixes for this problem in 1.1.9. It's probably still broken. A little surprising, as a couple of mime fixes for the plugin did get in. Created attachment 269963 [details, diff]
patch for the plugin
Could somebody test the following patch ?
Obviously needs to be combined with
mv projects/mozilla/support/npunix.c{,pp}
Changes, as you may tell, are trivial, especially that in npmac.cpp Private_SetValue already has such signature.
Yes, this fixes the problem, thanks. Yes, Rafał's patch fixes the problem for me too. This also affects Google Chromium: /usr/lib64/chromium-browser/chrome --type=plugin --plugin-path=/usr/lib64/nsbrowser/plugins/libvlcplugin.so --lang=en-US --plugin-data-dir=/home/richard/.config/chromium/Default --channel=31056.0x5f20200.55425446: symbol lookup error: /usr/lib64/nsbrowser/plugins/libvlcplugin.so: undefined symbol: NPP_Initialize Patching browsers to resolve this seems to be like playing whack a mole to me. It might be better to implement stubs for these functions in the plugin itself. Please disregard my previous message. I misread the patch as being one for Firefox. It is now clear to me that it is a patch for VLC. I will test it later. this should be fixed in 1.1.10, please reopen if not |