Re: Install both i586 and x86_64 RPM?
- From: noi ance <noi@xxxxxxxx>
- Date: Thu, 17 Jul 2008 06:36:34 GMT
On Wed, 16 Jul 2008 14:59:28 +0000, Jan Wielemaker typed this message:
On 2008-07-16, Nikos Chantziaras <realnc@xxxxxxxx> wrote:
Jan Wielemaker wrote:
I need to build a 32-bit binary of a package that links against JVM on
what is otherwise a 64-bit install of SuSE 11.0. For all other
required libraries there are 32-bit development versions, but not for
Java.
Is there a way to install
suse/i586/java-1_6_0-sun-1.6.0.u6-8.1.i586.rpm alongsite
suse/x86_64/java-1_6_0-sun-1.6.0.u6-8.1.x86_64.rpm?
I guess I can unpack the RPM and install the files, for example
through rpm2cpio. Would that work, and more importantly would it work
without getting into trouble with automatic updates, etc.?
AFAIK, Java is always 32-bit even on openSUSE x86-64. Sun never ported
it to 64-bit.
I guess your info is outdated:
gollem (~) 5_> file
/usr/lib64/jvm/java-1.6.0-sun-1.6.0.u6/jre/lib/amd64/libjava.so
/usr/lib64/jvm/java-1.6.0-sun-1.6.0.u6/jre/lib/amd64/libjava.so: ELF
64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically
linked, not stripped gollem (~) 6_> rpm -qf
/usr/lib64/jvm/java-1.6.0-sun-1.6.0.u6/jre/lib/amd64/libjava.so
java-1_6_0-sun-1.6.0.u6-8.1
gollem (~) 7_>
Cheers --- Jan
Generally, SuSe installs/updates both 32 and 64bit libraries. So, if you
need the java libraries use YaST or zypper to install the JAVA libraries
and resolve dependencies.
zypper search java
if needed
zypper install non-oss-java-32bit
.
- Follow-Ups:
- Re: Install both i586 and x86_64 RPM?
- From: Jan Wielemaker
- Re: Install both i586 and x86_64 RPM?
- References:
- Install both i586 and x86_64 RPM?
- From: Jan Wielemaker
- Re: Install both i586 and x86_64 RPM?
- From: Nikos Chantziaras
- Re: Install both i586 and x86_64 RPM?
- From: Jan Wielemaker
- Install both i586 and x86_64 RPM?
- Prev by Date: Re: does openSUSE run on Quad Core computers?
- Next by Date: Re: Hard disk speed - Maybe OT
- Previous by thread: Re: Install both i586 and x86_64 RPM?
- Next by thread: Re: Install both i586 and x86_64 RPM?
- Index(es):
Relevant Pages
|