[opensuse] Re: Installing both .i586 and .x86_64 version of the same package

Philipp Thomas wrote:
On Wed, 18 May 2011 00:51:09 +0200, Joachim Schrod <jschrod@acm.org> wrote:
Is there a way to do this, short of taking the source rpm, renaming it, and creating one's own package?
Renaming it won't help. You need a 32 bit runtime package. We have them in the distribution as packages with -32bit in their names. These are essentially the bare dynamic libs taken from the i586 packages. This is so that there is no overlap between the 32 and the 64 bit packages.
Well, I suspected that, but considered to ask before exploring other directions. There ain't no 32 bit runtime packages for the libraries that I need, namely libapr1 and libtcnative-1-0. (I need to have a Tomcat test environment with 32bit Java.) How are the -32bit rpms normally created? I wanted to look if there is a .spec file that creates them from the i586 packages; but zypper source-install tells me it doesn't find appropriate source packages for any -32bit.rpm that I tried. If there is no automatism that I can re-use, I'll probably have to go forward and write such a .spec file. Anyhow, thanks a lot for the quick answer, it pointed me already to the right direction. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Wed, 2011-05-18 at 03:13 +0200, Joachim Schrod wrote:
How are the -32bit rpms normally created? I wanted to look if there is a .spec file that creates them from the i586 packages; but zypper source-install tells me it doesn't find appropriate source packages for any -32bit.rpm that I tried.
If there is no automatism that I can re-use, I'll probably have to go forward and write such a .spec file.
Anyhow, thanks a lot for the quick answer, it pointed me already to the right direction.
Some packages have a baselibs.conf file, instruction the build service to create the -32bit packages. An example of this can be seen for example in the geoclue package. The baselibs.conf generally is really simple: A simple line with the basename of the library package that needs to be provided when building this as well (so in geoclue you will see libgeoclue0 in there). This will result in libgeoclue-0.12.0-1.1 and libgeoclue-32bit-0.12.0-1.1. If you are not able to adapt this to your packages in need, let me know and I will try to create a repository for you which does this steps for your libs (please let me know then which baseversions and openSUSE you are running: I do not really want to break your system with incompatible libs). Dominique -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Dimstar / Dominique Leuenberger
-
Joachim Schrod