Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159218 - net-www/mplayerplug-in-3.3x and "-gtk" for opera
Summary: net-www/mplayerplug-in-3.3x and "-gtk" for opera
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Joe Jezak (RETIRED)
URL:
Whiteboard:
Keywords:
: 159219 159220 159221 159222 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-27 08:21 UTC by Bartek 'Paczesiowa' Cwiklowski
Modified: 2007-09-02 18:05 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fixed ebuild (mplayerplug-in-3.35-r1.ebuild,2.43 KB, text/plain)
2006-12-27 08:24 UTC, Bartek 'Paczesiowa' Cwiklowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bartek 'Paczesiowa' Cwiklowski 2006-12-27 08:21:44 UTC
I use opera so I have gtk" for mplayerplug-in but it doesn't work (grey boxes) when starting opera as "opera -debugplugin" there is this error:
"/opt/opera/lib/opera/plugins/operapluginwrapper: symbol lookup error: /opt/opera/lib/opera/plugins/mplayerplug-in-wmp.so: undefined symbol: pthread_create
opera: Plug-in 9000 is not responding. It will be closed."

to fix it, you need to configure it like this:
"GTHREAD_LIBS=/lib/libpthread.so.0 ./configure --enable-x"
instead of simple "./configure --enable-x"

I modified ebuild and now it works for me, but it's my first time and I dont know if this doesn't break things for non-opera users or other architectures.
Comment 1 Bartek 'Paczesiowa' Cwiklowski 2006-12-27 08:24:07 UTC
Created attachment 104810 [details]
fixed ebuild

added EXTRA_ECONF="${EXTRA_ECONF} GTHREAD_LIBS=/lib/libpthread.so.0"
when --enable-x
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-12-27 08:27:58 UTC
*** Bug 159219 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-27 08:28:06 UTC
*** Bug 159220 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-27 08:28:14 UTC
*** Bug 159221 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-12-27 08:28:22 UTC
*** Bug 159222 has been marked as a duplicate of this bug. ***
Comment 6 Bartek 'Paczesiowa' Cwiklowski 2006-12-27 08:30:02 UTC
sorry for that extra bugs, bgo was so slow I clicked too many times.
Comment 7 Joe Jezak (RETIRED) gentoo-dev 2007-05-16 22:29:04 UTC
This should be fixed in 3.40, please reopen if not.
Comment 8 Bartek 'Paczesiowa' Cwiklowski 2007-05-19 03:42:33 UTC
it still doesn't work, but solution remains the same.
EXTRA_ECONF="${EXTRA_ECONF} GTHREAD_LIBS=/lib/libpthread.so.0" fixes the problem.
Comment 9 Joe Jezak (RETIRED) gentoo-dev 2007-07-26 14:37:46 UTC
Well, unfortunately, this does break mplayerplug-in, the author suggests not doing it.  I'm not sure we can fix this, especially since it's only supported for gecko based browers.  Can you try running ldd on one of the plugins?  (/usr/lib/nsbrowser/plugins/mplayerplug-in-*.so)  Is libpthread.so.0 linked in?  What architecture are you using?  CFLAGS?  Can I see the output of emerge --info?

Thanks
Comment 10 Bartek 'Paczesiowa' Cwiklowski 2007-07-26 20:55:50 UTC
yes libpthread is linked in all plugin .so files.

I use it on few computers (but all i686) and I think it's more stable than flash (but also less popular these days).

emerge --info:
Portage 2.1.3_rc9 (default-linux/x86/2006.1, gcc-4.2.0, glibc-2.6-r0, 2.6.22-gentoo-r1 i686)
=================================================================
System uname: 2.6.22-gentoo-r1 i686 AMD Athlon XP-M
Gentoo Base System release 1.12.10
Timestamp of tree: Thu, 26 Jul 2007 02:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://gentoo.intergenia.de http://gentoo.prz.rzeszow.pl"
LANG="pl_PL"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/vmware /usr/portage/local/layman/sunrise /usr/portage/local/layman/haskell /usr/local/portage"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="kdeenablefinal kdehiddenvisibility nls nptl nptlonly unicode x86" ALSA_CARDS="emu10k1x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Joe Jezak (RETIRED) gentoo-dev 2007-09-02 18:05:06 UTC
Okay, well, that all looks fine. :|  Since the upstream author doesn't want to support it, I think I'm going to leave this out.  Sorry.  If you can find another solution though, feel free to reopen this bug!

Sorry!