Contents |
Another resource
Contents |
This should fix the no-sound issue of Flash Player
$ mkdir ~/pulseaudio-backup; sudo mv ~/.asoundrc* /etc/asound.conf /etc/libao.conf ~/pulseaudio-backup/
$ gksudo software-properties-gtk
$ sudo apt-get install libasound2 libasound2-plugins libasound2-dev padevchooser swh-plugins libao-pulse libsdl1.2debian-pulseaudio ladspa-sdk
$ gksudo gedit /etc/libao.conf
default_driver=pulse
$ gedit ~/.asoundrc
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
} $ sudo apt-get remove libflashsupport
$ wget http://archive.ubuntu.com/ubuntu/pool/multiverse/f/flashplugin-nonfree/flashplugin-nonfree_10.0.1.218ubuntu1_i386.deb
$ sudo dpkg -i flashplugin-nonfree_10.0.1.218ubuntu1_i386.deb
$ wget http://archive.ubuntu.com/ubuntu/pool/multiverse/f/flashplugin-nonfree/flashplugin-nonfree_10.0.1.218ubuntu1_amd64.deb
$ sudo dpkg -i flashplugin-nonfree_10.0.1.218ubuntu1_amd64.deb
When I tried to install Adobe Flash for Firefox, the following error occured:
Your architecture, \’x86_64\’, is not supported by the Adobe Flash Player installer.
Googled a little bit ,and eventually solved the problem.
1. Get the Adobe flash :
wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
2. Untar
tar -xvzf ./install_flash_player_9_linux.tar.gz
3. Copy the libflashplayer.so file to your mozilla plugins folder.
cp install_flash_player_9_linux/libflashplayer.so ~/Firefox/plugins
4. Now the magic bullet kindly provided by Gwenole Beauchesne.sudo aptitude install nspluginwrapper
nspluginwrapper -i ~/Firefox/plugins/libflashplayer.so
Ok, problem solved
The build dependencies in the released Wine package should be almost all you need
sudo apt-get build-dep wine
On Debian you may need to add some more, or run the build-dep command after adding the AptRepository.
Wine's configure requires .so links, and for some reason Ubuntu 64 bit doesn't make .so links for the 32 bit libraries. Accordingly, to avoid missing libraries and compile smoothly you'll have to do some linking by hand.
You can make these links in a temporary folder within the wine tree.
mkdir -p `pwd`/lib32
ln -s /usr/lib32/libX11.so.6 `pwd`/lib32/libX11.so
ln -s /usr/lib32/libXext.so.6 `pwd`/lib32/libXext.so
ln -s /usr/lib32/libfreetype.so.6 `pwd`/lib32/libfreetype.so
ln -s /usr/lib32/libfontconfig.so.1 `pwd`/lib32/libfontconfig.so
ln -s /usr/lib32/libGL.so.1 `pwd`/lib32/libGL.so
ln -s /usr/lib32/libGLU.so.1 `pwd`/lib32/libGLU.so
ln -s /usr/lib32/libXrender.so.1 `pwd`/lib32/libXrender.so
ln -s /usr/lib32/libXinerama.so.1 `pwd`/lib32/libXinerama.so
ln -s /usr/lib32/libXxf86vm.so.1 `pwd`/lib32/libXxf86vm.so
ln -s /usr/lib32/libXi.so.6 `pwd`/lib32/libXi.so
ln -s /usr/lib32/libXrandr.so.2 `pwd`/lib32/libXrandr.so
ln -s /usr/lib32/liblcms.so.1 `pwd`/lib32/liblcms.so
ln -s /usr/lib32/libpng12.so.0 `pwd`/lib32/libpng.so
ln -s /usr/lib32/libcrypto.so.0.9.8 `pwd`/lib32/libcrypto.so
ln -s /usr/lib32/libssl.so.0.9.8 `pwd`/lib32/libssl.so
ln -s /usr/lib32/libxml2.so.2 `pwd`/lib32/libxml2.so
ln -s /usr/lib32/libjpeg.so.62 `pwd`/lib32/libjpeg.so
ln -s /usr/lib32/libXcomposite.so.1 `pwd`/lib32/libXcomposite.so
ln -s /usr/lib32/libcups.so.2 `pwd`/lib32/libcups.so
ln -s /usr/lib32/libXcursor.so.1 `pwd`/lib32/libXcursor.so
ln -s /usr/lib32/libdbus-1.so.3 `pwd`/lib32/libdbus-1.so
ln -s /usr/lib32/libhal.so.1 `pwd`/lib32/libhal.so
ln -s /usr/lib32/libsane.so.1 `pwd`/lib32/libsane.so
ln -s /usr/lib32/libgphoto2.so.2 `pwd`/lib32/libgphoto2.so
ln -s /usr/lib32/libgphoto2_port.so.0 `pwd`/lib32/libgphoto2_port.so
ln -s /usr/lib32/libldap-2.4.so.2 `pwd`/lib32/libldap.so
ln -s /usr/lib32/libldap_r-2.4.so.2 `pwd`/lib32/libldap_r.so
ln -s /usr/lib32/liblber-2.4.so.2 `pwd`/lib32/liblber.so
ln -s /usr/lib32/libxslt.so.1 `pwd`/lib32/libxslt.so
ln -s /usr/lib32/libcapi20.so.3 `pwd`/lib32/libcapi20.so
ln -s /usr/lib32/libjack.so.0 `pwd`/lib32/libjack.so
ln -s /usr/lib32/libodbc.so.1 `pwd`/lib32/libodbc.so
It is ok if you delete this directory after compiling Wine (configure is linking to the real libs, not the symlinks we just made)
Run configure, build and install with:
CC="gcc-4.2 -m32" LDFLAGS="-L/lib32 -L/usr/lib32 -L`pwd`/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" ./configure -v
make
sudo make install
If all needed libraries are present there will be no missing-library warnings or errors anywhere. If you find that this process misses a library, then it means we are either missing a link or the ia32-libs package is missing the 32 bit version of the library. In either case, contact the Ubuntu package maintainer, Scott Ritchie, so things can be fixed.
We explicitly set CC="gcc-4.2 -m32", although gcc 4.2 is the default now. You can use another to test differences - see our page on GccVersions
If sound doesn't work for you, try using pasuspender and testing your sound with the ALSA driver.
pasuspender winecfg
You can launch applications similarly:
pasuspender wine app.exe
ORIGINAL