On Fri, 19 Jun 1998, Stephen Wynne wrote:
> I read the FAQ but still could not find a solution. I downloaded a
> copy of jdk-sbb-1.1.6-2.1.1glibc.i386.rpm from
> http://anna.inf.u-szeged.hu/java/java-rpm.html. But when i
> installed this RPM version, "libXm.so.1 is needed" poped up. My
> machine is installed with Metro Link Motif 2.1. (so I only have
> libXm.so.2). Does this version of JDK have to work with Motif 1.x?
> All my installation are done under the X. Does this cause any
> problem?
>
> Feng,
>
> The RPM archive is possibly the source of this confusion. To fool rpm,
> you can either create a symlink from libXm.so.X to libXm.so.2, i.e.
> type
>
> $ ls /usr/X11R6/lib/libXm.* # <--- Find your .so first!
> $ cd /usr/X11R6/lib; ln -s libXm.so.2.1 libXm.so.2 # <--- You saw .so.2.1
>
> before running rpm(8), or run rpm with the --nodeps flag. See the
> rpm(8) manual page for more information. In general, using the
> --nodeps flag is a little risky if you don't know what you're doing,
> but SBB works hard to remove the dependencies RPM tries to worry about
> at the source.
>
> As far as I remember, the current SBB i386 JDKs are statically linked
> to NC Laboratories' SWiM Motif 2.1 (as far as I know). Unless you run
> it with DYN_JAVA set, you get what SBB compiled into it.
hmm, it was my fault :-(
once upon a time when rpm's auto requires didn't contain motif so I remove
the small hack from the spec file (since it's realy not required) but now
I put it back. so there are new version of the rpms.
they're on anna.inf.u-szeged.hu and redhat's incoming
(I hope tomorrow in contrib area). and I hope these're better:-)
or you can simple use
rpm -Uvh --nodeps jdk-sbb...
with the previous version...
-- Levente