[opensuse] Installing both .i586 and .x86_64 version of the same package
Hello, On openSUSE 11.4 x86_64; I'd like to install both libtcnative-1-0.x86_64=1.3.3-6.2 libtcnative-1-0.i586=1.3.3-6.2 I.e., both the 32bit and the 64bit versions of that library. Fwiw, this is runtime stuff for Tomcat. (I suppose, what I really want is a libtcnative-1-0-32bit package; but I didn't find one.) I didn't find a way to do so; it can't be solved via multiversion config, as they are the same version. Is there a way to do this, short of taking the source rpm, renaming it, and creating one's own package? 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, 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. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, May 18, 2011 at 12:51:09AM +0200, Joachim Schrod wrote:
On openSUSE 11.4 x86_64; I'd like to install both
libtcnative-1-0.x86_64=1.3.3-6.2 libtcnative-1-0.i586=1.3.3-6.2
I.e., both the 32bit and the 64bit versions of that library. Fwiw, this is runtime stuff for Tomcat. (I suppose, what I really want is a libtcnative-1-0-32bit package; but I didn't find one.)
You can't, as they obsolete each other.
I didn't find a way to do so; it can't be solved via multiversion config, as they are the same version.
Is there a way to do this, short of taking the source rpm, renaming it, and creating one's own package?
Install the 'build-mkbaselibs' package and do echo 'libtcnative-1-0' > baselibs.conf /usr/lib/mkbaselibs -c /usr/lib/build/baselibs_global.conf -c baselibs.conf <rpm> on the libtcnative-1-0.i586 rpm. It'll create a '-32bit' package that you can install. (The buildservice automatically does this if the source a "baselibs.conf" file.) Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Joachim Schrod
-
Michael Schroeder
-
Philipp Thomas