Re: [opensuse-buildservice] 32-bit Libraries as BuildRequires on 64-bit build??
On Montag, 13. April 2015, 10:27:12 wrote Martin Juhl:
Hi
Sorry for not specifying distro.. This is on RHEL6...
I'm trying to repackage a tar.gz installer into a rpm-file...
In this installer, some of the installers internal java is 32-bit and some are 64-bit... (IBM-stuff)...
So I need the 32-bit libraries to be able to run the installer...
It seems like:
BuildRequires: libgcc(x86-32), libstdc++(x86-32)
Should be the correct way to do this, and is also accepted if I do a 32-bit build.. but not if I try to do a 64-bit build...
OBS is not supporting multiple version of rpms with same rpm name inside of a build environment. So this is not gonna to work.
Fra: "Adrian Schröter" <adrian@suse.de> Til: opensuse-buildservice@opensuse.org Cc: "mj" <mj@casalogic.dk> Sendt: mandag, 13. april 2015 10:16:41 Emne: Re: [opensuse-buildservice] 32-bit Libraries as BuildRequires on 64-bit build??
On Montag, 13. April 2015, 09:49:22 wrote Martin Juhl:
Hi
How do I include some (libstdc++.i686 and libgcc.i686) as BuildRequires...
I have tried to add them as
BuildRequires: libgcc.i686, libstdc++.i686 BuildRequires: libgcc()(32bit), libstdc++()(32bit) BuildRequires: /lib/libgcc_s.so.1, /lib/ld-linux.so.2
But all of the above, fails to resolve dependencies...
What to do??
This depends heavily on the distribution, do you ask for (open)SUSE distros?
libstdc++6-32bit
should pull it in here. However, usually we do only build in 32bit environements and export it to 64bit afterwards using our baselibs wrapper.
Can you describe a bit more detailed why do you want to use 32bit libs in 64bit at all? Usually you can not compile against them there...
-- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (1)
-
Adrian Schröter