LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 11-05-2011, 08:29 PM   #1
quiescere
Member
 
Registered: Sep 2003
Distribution: Slackware64 13.1
Posts: 52

Rep: Reputation: 15
Gstreamer errors in 13.37 multilib + wine


I'm getting the following errors trying to run a game under wine:
Code:
(wine:3946): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstlibvisual.so': libvisual-0.4.so.0: cannot open shared object file: No such file or directory

(wine:3946): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstogg.so': libogg.so.0: cannot open shared object file: No such file or directory
fixme:gstreamer:unknown_type Could not find a filter for caps: video/x-ms-asf
fixme:gstreamer:watch_bus decodebin20: Your GStreamer installation is missing a plug-in.
fixme:gstreamer:watch_bus decodebin20: A Advanced Streaming Format (ASF) demuxer plugin is required to play this stream, but not installed.
fixme:gstreamer:GST_Connect Gstreamer could not find any streams
err:gstreamer:push_data_init Obtaining buffer returned: -2
I know that libogg.so.0 (libvisual-0.4.so, libtheora, etc.) is present, in /usr/lib64. Do I need to convert more packages for 32-bit compatibility? I confess to being fairly shaky on how many compat32 packages I really need.

Thanks,
quiescere
 
Old 11-06-2011, 04:52 AM   #2
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,833
Blog Entries: 15

Rep: Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187
You probably do need more packages. Check the dependencies of each and install all dependencies for the 32-bit software packages you will be needing.
 
Old 11-06-2011, 05:28 PM   #3
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 526

Rep: Reputation: 140Reputation: 140
To run WINE in Slackware64, you need a bunch of packages from Slackware32. The best start is to make sure you followed Alien BOB's multilib wiki completely: http://alien.slackbook.org/dokuwiki/...kware:multilib

WINE looks for libraries in /usr/lib, not in /usr/lib64. Of course this is not a problem in Slackware32! Then compile WINE as a 32-bit application, following the instructions in wiki.

Occasionally, you'll have to add a 32-package not part of the set listed in the wiki. The 'convertpkg-compat32' tool willdo that for any 32-bit slackware packages you need.
 
Old 11-07-2011, 12:40 AM   #4
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,833
Blog Entries: 15

Rep: Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187
Yeah fairly much you may have to install a bunch of libraries and applications to get the full benefit of 32-bit compatibility, and often it's not worth the trouble. I've had tons of issues compiling and building stuff after installing the 32-bit packages that I actually removed the whole thing and went back to a pure 64-bit system.

I do have Wine installed but it's a custom built copy of Wine64 that strictly is for 64-bit Windows applications and nothing else.
 
Old 11-07-2011, 01:21 AM   #5
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 526

Rep: Reputation: 140Reputation: 140
As they say: YMMV. I have not had any issues with multilib; been running it for years (SLAMD64 etc). I do only compile WINE that way and everything else as native x86_64. Just updated to WINE-1.3.32 for Steam and Team Fortress2. Civ4 and Oblivion run spiffy.

You do need to be careful with the script that sets up the 32 bit build environment. Every once in a while a need a 32-bit lib not provided by Slackware, so I build that with Slackware32 via a virtual machine. My clean Slackware64 environment for building is also a VM.
 
Old 11-07-2011, 10:06 AM   #6
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 299

Rep: Reputation: 179Reputation: 179
Hello,

Quote:
Originally Posted by quiescere View Post
I know that libogg.so.0 (libvisual-0.4.so, libtheora, etc.) is present, in /usr/lib64. Do I need to convert more packages for 32-bit compatibility? I confess to being fairly shaky on how many compat32 packages I really need.
quiescere
Using compat32pkg, you can automate conversion, installation, and updates of those packages. The best, and easier, way to do that is to add the basename of the missing packages at the end of the file
/etc/compat32pkg/multilib-32bit-packages.lst, as below :

Code:
   ###
   #    additional packages needed by ...    #
                                           ###
libogg
libtheora
libvisual
libvisual-plugins
Once you did that, if you run compat32pkg in mode list-updates layer-32, you will notice that the packages added will be processed as updates by compat32pkg :
Code:
$ compat32pkg --mirror @WorldWide-13.37 --list-updates layer-32

compat32pkg ver. 1.4.110408 (stable)

[--list-updates] Started on Mon Nov  7 16:02:05 2011                                                
[--list-updates]   Using mirror ftp://mirrors.kernel.org/slackware/slackware-13.37
[--list-updates]   Local system is Slackware/x86_64 version 13.37.0
[--list-updates]   Mirrored system is Slackware/i486 version 13.37
[--list-updates]   Slackware-32 packages will be stored into /var/cache/compat32pkg/slackware-32
[--list-updates]   compat32 packages will be stored into /var/cache/compat32pkg/compat-32
[--list-updates]   Configuration file for "layer-32" : /etc/compat32pkg/multilib-32bit-packages.lst version 1.4.110825
                                                                                     
[--list-updates]   4 update(s) were found [ 0 package(s) to upgrade, 4 package(s) to add ] (0,065 sec.)

[ package-basename                 ] [ installed version                ]     [ update version                   ]
  libogg                               ** NOT INSTALLED **                -->   1.2.2 build 1                   
  libtheora                            ** NOT INSTALLED **                -->   1.1.1 build 1                   
  libvisual                            ** NOT INSTALLED **                -->   0.4.0 build 2                   
  libvisual-plugins                    ** NOT INSTALLED **                -->   0.4.0 build 2                   

[--list-updates] Ended on Mon Nov  7 16:02:06 2011
To install them, you simply have to run compat32pkg in (layer-32) upgrade mode as below :

Code:
compat32pkg --mirror @WorldWide-13.37 --upgrade layer-32 

compat32pkg ver. 1.4.110408 (stable)

[--upgrade] Started on Mon Nov  7 16:04:34 2011
[--upgrade]   Using mirror ftp://mirrors.kernel.org/slackware/slackware-13.37
[--upgrade]   Local system is Slackware/x86_64 version 13.37.0
[--upgrade]   Mirrored system is Slackware/i486 version 13.37
[--upgrade]   Slackware-32 packages will be stored into /var/cache/compat32pkg/slackware-32
[--upgrade]   compat32 packages will be stored into /var/cache/compat32pkg/compat-32
[--upgrade]   Configuration file for "layer-32" : /etc/compat32pkg/multilib-32bit-packages.lst version 1.4.110825
                                                                                     
[--upgrade]   4 update(s) were found [ 0 package(s) to upgrade, 4 package(s) to add ] (0,056 sec.)

[--upgrade]   Processing package #1/4: libogg version 1.2.2 build 1
[--upgrade]     Package successfully downloaded (/var/cache/compat32pkg/slackware-32/libogg-1.2.2-i486-1.txz)
[--upgrade]     Package converted to format compat32 (/var/cache/compat32pkg/compat-32/libogg-compat32-1.2.2-x86_64-1.txz)
[--upgrade]     Package successfully installed.                    

[--upgrade]   Processing package #2/4: libtheora version 1.1.1 build 1
[--upgrade]     Package successfully downloaded (/var/cache/compat32pkg/slackware-32/libtheora-1.1.1-i486-1.txz)
[--upgrade]     Package converted to format compat32 (/var/cache/compat32pkg/compat-32/libtheora-compat32-1.1.1-x86_64-1.txz)
[--upgrade]     Package successfully installed.                       

[--upgrade]   Processing package #3/4: libvisual version 0.4.0 build 2
[--upgrade]     Package successfully downloaded (/var/cache/compat32pkg/slackware-32/libvisual-0.4.0-i486-2.txz)
[--upgrade]     Package converted to format compat32 (/var/cache/compat32pkg/compat-32/libvisual-compat32-0.4.0-x86_64-2.txz)
[--upgrade]     Package successfully installed.                       

[--upgrade]   Processing package #4/4: libvisual-plugins version 0.4.0 build 2
[--upgrade]     Package successfully downloaded (/var/cache/compat32pkg/slackware-32/libvisual-plugins-0.4.0-i486-2.txz)
[--upgrade]     Package converted to format compat32 (/var/cache/compat32pkg/compat-32/libvisual-plugins-compat32-0.4.0-x86_64-2.txz)
[--upgrade]     Package successfully installed.                               

[--upgrade] Ended on Mon Nov  7 16:04:52 2011
So, each time you need packages (from slackware) not included into the default layer-32, simply add them into the file that describes the 32-bit layer, and run compat32pkg in upgrade mode.

Important:
Tweaking the file /etc/compat32pkg/multilib-32bit-packages.lst has one drawback:Any change made to this file will be lost when installing a new version of compat32pkg, or, when using compat32pkg
in mode "layer-32-config update". So be careful in these cases.

Hope this help.

Greetings.

--
SeB
 
1 members found this post helpful.
  


Reply

Tags
multilib, slackware64, wine


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gstreamer support with wine Ook Slackware 4 07-20-2013 04:57 PM
[SOLVED] Installing wine in -current,multilib TSquaredF Slackware 3 12-20-2010 01:34 PM
GStreamer errors rezaul.akram@gmail.com Programming 1 12-19-2010 08:00 AM
Building WINE on Slackware64 multilib? Lufbery Slackware 12 07-19-2010 07:22 PM
[SOLVED] Slackware 13 64 - Alien Bob's multilib and Wine gezley Slackware 20 05-14-2010 12:04 PM


All times are GMT -5. The time now is 12:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration