Hello,
Quote:
Originally Posted by quiescere
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