Finally, Flash seems to be working for Me :)

Rudy crapsh at monkeybrains.net
Thu Jan 3 17:16:36 PST 2008


Steps to watch YOUTUBE videos:

# Run these commands as root:
  sysctl compat.linux.osrelease=2.6.20
  cd  /usr/ports/emulators/linux_base-f7 && make
  pkg_delete linux_\*
  make install

  rm /usr/ports/distfiles/flashplugin/fp7_archive.zip
  pkg_delete linux-flashplugin\*
  cd /usr/ports/www/linux-flashplugin7 && make
  make install

  cd /usr/ports/www/nspluginwrapper/ && make
  make install

  portupgrade -O linux-\*

# return to your user account (stop being root)
  nspluginwrapper -a -v -i

# the output should look like this:
Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin
Looking for plugins in /usr/local/lib/npapi/linux-flashplugin
Install plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
   into /home/rudy/.mozilla/plugins/npwrapper.libflashplayer.so



What do other people use for linux.osrelease?
What linux package do people use?  Seems like Fedora core 4 is the default.

WITHOUT SETTING THE SYSCTL VALUE TO 2.6.20, I got this error:
  nspluginwrapper -a -v -i
Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin
Looking for plugins in /usr/local/lib/npapi/linux-flashplugin
FATAL: kernel too old
Auto-install plugins from /home/rudy/.mozilla/plugins
Looking for plugins in /home/rudy/.mozilla/plugins

THEN I DID THE PORTUPGRADE:
  nspluginwrapper -a -v -i
Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin
Looking for plugins in /usr/local/lib/npapi/linux-flashplugin
/usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: 
libX11.so.6: cannot open shared object file: No such file or directory
Auto-install plugins from /home/rudy/.mozilla/plugins
Looking for plugins in /home/rudy/.mozilla/plugins

NOW INSTALL WORKS:
  nspluginwrapper -l
/home/rudy/.mozilla/plugins/npwrapper.libflashplayer.so
   Original plugin: /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
   Wrapper version string: 0.9.91.5

Does anyone know if this upgrade to Fedora-core 7 is necessary, or did the FreeBSD linux.ko change 
at the same time?


Rudy


More information about the freebsd-questions mailing list